diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-08-30 20:03:42 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-08-31 03:04:27 +0000 |
commit | 1512ee7d84cadd4c12e72f43ad4079df5ff345f5 (patch) | |
tree | 3fa9d126cca60f8c8ab5ef3904aaeaee76191fc3 /tshark.c | |
parent | 18a873d57696d43a4232f95d538bfc2792666637 (diff) |
Crashing in proto_initialize_all_prefixes()? Debugging output.
Change-Id: I6db711b1730b95460983ee190762753198c1959e
Reviewed-on: https://code.wireshark.org/review/17409
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -829,18 +829,11 @@ main(int argc, char *argv[]) XXX - we do this here, for now, to support "-G" with no arguments. If none of our build or other processes uses "-G" with no arguments, we can just process it with the other arguments. */ -fprintf(stderr, "Checking for -G\n"); if (argc >= 2 && strcmp(argv[1], "-G") == 0) { -fprintf(stderr, "-G detected\n"); proto_initialize_all_prefixes(); -fprintf(stderr, "proto_initialize_all_prefixes() returned\n"); if (argc == 2) -{ -fprintf(stderr, "calling proto_registrar_dump_fields()\n"); proto_registrar_dump_fields(); -fprintf(stderr, "proto_registrar_dump_fields() returned\n"); -} else { if (strcmp(argv[2], "column-formats") == 0) column_dump_column_formats(); @@ -885,7 +878,6 @@ fprintf(stderr, "proto_registrar_dump_fields() returned\n"); return 1; } } -fprintf(stderr, "About to return\n"); return 0; } |