]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Not all compilers that can be used support C++/C99-style comments.
authorGuy Harris <[email protected]>
Wed, 16 Oct 2013 19:54:06 +0000 (12:54 -0700)
committerGuy Harris <[email protected]>
Wed, 16 Oct 2013 19:54:06 +0000 (12:54 -0700)
Use #if 0/#endif, rather than a // comment, to keep a line of code from
being compiled.

print-forces.c

index 9fcc68b9da09241bf20a8ba5eeeeabbcf1d638f6..7391209502e68a158ca44bb4896bf947048cd689 100644 (file)
@@ -744,7 +744,9 @@ sdatailv_print(register const u_char * pptr, register u_int len,
        rlen = len;
        indent += 1;
        while (rlen != 0) {
-               //printf("Jamal - outstanding length <%d>\n", rlen);
+#if 0
+               printf("Jamal - outstanding length <%d>\n", rlen);
+#endif
                char *ib = indent_pr(indent, 1);
                register const u_char *tdp = (u_char *) ILV_DATA(ilv);
                TCHECK(*ilv);