aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-11-28 11:40:28 +0000
committerGuy Harris <guy@alum.mit.edu>2005-11-28 11:40:28 +0000
commit4e4c2942e728daa807c2fdb5041dd0afc0e100ca (patch)
treef9de5f9811271f7492e72617feb8b903e65b3ebc /dumpcap.c
parentbee3824471a27c035aefdfb2a0ec11e9deba0494 (diff)
Add support for building dumpcap, and fix dumpcap to build on UN*X.
svn path=/trunk/; revision=16618
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;
}