summaryrefslogtreecommitdiff
path: root/link.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-30 11:46:29 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-30 11:46:29 +0200
commite6033f49decf5d1e6e9929cbefb7c099d8766964 (patch)
tree5f2dfd10889a8bc30f84eb8c106aa6037e7900f7 /link.h
parent5e67d9ebf4cfb76f359ea25ad425de81f80700cc (diff)
netsniff-ng: Simplify dump file creation logic
Instead of using goto, just check stats if stat() returned 0 and used ctx->dump_dir afterwards. This makes the logic a bit easier to follow. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'link.h')
0 files changed, 0 insertions, 0 deletions