diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2016-09-01 11:39:39 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2016-09-01 14:16:52 +0200 |
commit | 28e2edb7355b1312e58a158f6f661b02103b54a8 (patch) | |
tree | affb9db86ecffea5c78ae56c7c8bb9e56adc8104 /print-sctp.c | |
parent | b15c4c5093f780519ad1c298dda11542021df7e3 (diff) | |
download | tcpdump-28e2edb7355b1312e58a158f6f661b02103b54a8.tar.gz |
Remove parenthesis following immediately a #if
This avoid Coccinelle warning "Unable to parse #if condition"
Diffstat (limited to 'print-sctp.c')
-rw-r--r-- | print-sctp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-sctp.c b/print-sctp.c index 70738e66..f625dce6 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -693,7 +693,7 @@ void sctp_print(netdissect_options *ndo, sctpPacketLengthRemaining -= sizeof(*init); chunkLengthRemaining -= sizeof(*init); -#if(0) /* ALC you can add code for optional params here */ +#if 0 /* ALC you can add code for optional params here */ if( chunkLengthRemaining != 0 ) ND_PRINT((ndo, " @@@@@ UNFINISHED @@@@@@%s\n", "Optional params present, but not printed.")); @@ -721,7 +721,7 @@ void sctp_print(netdissect_options *ndo, sctpPacketLengthRemaining -= sizeof(*init); chunkLengthRemaining -= sizeof(*init); -#if(0) /* ALC you can add code for optional params here */ +#if 0 /* ALC you can add code for optional params here */ if( chunkLengthRemaining != 0 ) ND_PRINT((ndo, " @@@@@ UNFINISHED @@@@@@%s\n", "Optional params present, but not printed.")); |