diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-09-06 20:05:50 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-09-06 20:47:42 +0200 |
commit | 3fb4560e1ebe3144a0f475373eeaaaf7ca91f501 (patch) | |
tree | aaf87137a900a476d3222113cdc17e0c8dd49b6e /print-m3ua.c | |
parent | 08989170ad2bf0aa692799f7e8836b41514270f4 (diff) | |
download | tcpdump-3fb4560e1ebe3144a0f475373eeaaaf7ca91f501.tar.gz |
Rename cstr[] to istr[] like invalid string
Moreover:
Hamonise the output for error messages
Add istr[] in print-babel.c
Diffstat (limited to 'print-m3ua.c')
-rw-r--r-- | print-m3ua.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print-m3ua.c b/print-m3ua.c index 463a9540..9e37a9fb 100644 --- a/print-m3ua.c +++ b/print-m3ua.c @@ -32,7 +32,7 @@ #include "extract.h" static const char tstr[] = " [|m3ua]"; -static const char cstr[] = " (invalid)"; +static const char istr[] = " (invalid)"; /* RFC 4666 */ @@ -229,7 +229,7 @@ tag_value_print(netdissect_options *ndo, return; invalid: - ND_PRINT((ndo, "%s", cstr)); + ND_PRINT((ndo, "%s", istr)); ND_TCHECK2(*buf, size); return; trunc: @@ -277,7 +277,7 @@ m3ua_tags_print(netdissect_options *ndo, return; invalid: - ND_PRINT((ndo, "%s", cstr)); + ND_PRINT((ndo, "%s", istr)); ND_TCHECK2(*buf, size); return; trunc: @@ -329,7 +329,7 @@ m3ua_print(netdissect_options *ndo, return; invalid: - ND_PRINT((ndo, "%s", cstr)); + ND_PRINT((ndo, "%s", istr)); ND_TCHECK2(*buf, size); return; trunc: |