bugfix: button in capture info dialog has to stop capturing
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 10 Nov 2004 17:58:16 +0000 (17:58 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 10 Nov 2004 17:58:16 +0000 (17:58 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12506 f5534014-38df-0310-8fa8-9805f1628bb7

capture.c

index 0ecf9bda585b592a98b7aacf9b402622ee4252f5..9260f0a898ceb21186620a65444f3121de05833d 100644 (file)
--- a/capture.c
+++ b/capture.c
@@ -292,9 +292,9 @@ capture_stop(void)
 
   if (capture_opts.sync_mode) {        
     sync_pipe_stop();
-  } else {
-    capture_loop_stop();
   }
+    
+  capture_loop_stop();
 }
 
 void