diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-08-30 11:46:29 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-08-30 11:46:29 +0200 |
commit | e6033f49decf5d1e6e9929cbefb7c099d8766964 (patch) | |
tree | 5f2dfd10889a8bc30f84eb8c106aa6037e7900f7 /CodingStyle | |
parent | 5e67d9ebf4cfb76f359ea25ad425de81f80700cc (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 'CodingStyle')
0 files changed, 0 insertions, 0 deletions