commit fd56816337d7482bce1b7f0076ba168be2f16e71 parent 2b405ea1005552b6bc0de870565189ccbe880ce8 Author: Jordan Ritter <jpr5@darkridge.com> Date: Sun, 20 Feb 2005 03:43:25 +0000 aesthetic Diffstat:
M | ngrep.c | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/ngrep.c b/ngrep.c @@ -1152,8 +1152,8 @@ void drop_privs(void) { void usage(int e) { printf("usage: ngrep <-LhXViwqpevxlDtTRM> <-IO pcap_dump> <-n num> <-d dev> <-A num>\n" - " <-s snaplen> <-S limitlen> <-W normal|byline|none> <-c cols>\n" - " <-P char> <-F file> <match expression> <bpf filter>\n"); + " <-s snaplen> <-S limitlen> <-W normal|byline|none> <-c cols>\n" + " <-P char> <-F file> <match expression> <bpf filter>\n"); exit(e); } @@ -1187,9 +1187,9 @@ void clean_exit(int sig) { if (pd_dump) pcap_dump_close(pd_dump); #if defined(_WIN32) - if (delay_socket) closesocket(delay_socket); - if (want_delay) WSACleanup(); - if (usedev) free(usedev); + if (delay_socket) closesocket(delay_socket); + if (want_delay) WSACleanup(); + if (usedev) free(usedev); #endif exit(sig);