diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-10-30 14:30:52 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-10-30 14:30:52 +0000 |
commit | bdfe1d7fc82eaf4e52b736ff635f69f218bf724c (patch) | |
tree | 4ecf48d5b3921be053a31df033692c8fbe9ae927 /capture.c | |
parent | 113ed3e78898d115946ab8d8d873da4e4b5dd755 (diff) | |
download | wireshark-bdfe1d7fc82eaf4e52b736ff635f69f218bf724c.tar.gz wireshark-bdfe1d7fc82eaf4e52b736ff635f69f218bf724c.tar.bz2 wireshark-bdfe1d7fc82eaf4e52b736ff635f69f218bf724c.zip |
move quit_after_cap into capture_opts
svn path=/trunk/; revision=12449
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -173,7 +173,6 @@ * Capture options. */ capture_options capture_opts; -gboolean quit_after_cap = FALSE;/* Makes a "capture only mode". Implies -k */ gboolean capture_child; /* if this is the child for "-S" */ @@ -307,7 +306,7 @@ normal_do_capture(gboolean is_tempfile) /* Not sync mode. */ capture_succeeded = capture(&stats_known, &stats); - if (quit_after_cap) { + if (capture_opts.quit_after_cap) { /* DON'T unlink the save file. Presumably someone wants it. */ main_window_exit(); } |