]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Change C++ style comments to C style comments
authorfxlb <[email protected]>
Fri, 12 Apr 2013 16:07:50 +0000 (18:07 +0200)
committerGuy Harris <[email protected]>
Mon, 15 Apr 2013 00:09:49 +0000 (17:09 -0700)
tcpdump.c

index 68cbc719c668595f19d358491667cda98d465ccb..a4e8bf5a0e29a241372ab91c204bc6cab5600347 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -1214,8 +1214,8 @@ main(int argc, char **argv)
                 * Print a message to the standard error on Windows.
                 * XXX - why do it here, with a different message?
                 */
-               if(strlen(device) == 1) //we assume that an ASCII string is always longer than 1 char
-               {                                               //a Unicode string has a \0 as second byte (so strlen() is 1)
+               if(strlen(device) == 1) /* we assume that an ASCII string is always longer than 1 char */
+               {                                               /* a Unicode string has a \0 as second byte (so strlen() is 1) */
                        fprintf(stderr, "%s: listening on %ws\n", program_name, device);
                }
                else