aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 79fbdbaba0..ca515da4f5 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -6,7 +6,6 @@
* By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -474,9 +473,9 @@ if (capture_opts->iface == NULL) {
#ifdef _WIN32
/* Shutdown windows sockets */
WSACleanup();
-#endif
destroy_console();
+#endif
return err;
}