diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-03-20 09:44:48 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-03-20 16:45:22 +0000 |
commit | 5169abbbe7865295fc8a8415f49cc76e58f23a48 (patch) | |
tree | 5d5bc10c14dd54554d70adc14d32533f64673c49 /ui/text_import.c | |
parent | f4186b5b13ad3a65e159e3aa8916cad69f58463a (diff) |
Clean up comments and white space.
This is a collection of routines, not a program.
Change-Id: I76296576443602b7ea016c5311e66a52a73ee941
Reviewed-on: https://code.wireshark.org/review/32491
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/text_import.c')
-rw-r--r-- | ui/text_import.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/text_import.c b/ui/text_import.c index ac679a6423..4d32fb0532 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -13,7 +13,7 @@ /******************************************************************************* * - * This utility reads in an ASCII hexdump of this common format: + * This code reads in an ASCII hexdump of this common format: * * 00000000 00 E0 1E A7 05 6F 00 10 5A A0 B9 12 08 00 46 00 .....o..Z.....F. * 00000010 03 68 00 00 00 00 0A 2E EE 33 0F 19 08 7F 0F 19 .h.......3...... @@ -335,7 +335,7 @@ parse_num (const char *str, int offset) } num = strtoul(str, &c, offset ? offset_base : 16); - if (c==str) { + if (c == str) { fprintf(stderr, "FATAL ERROR: Bad hex number? [%s]\n", str); } return (guint32)num; @@ -701,8 +701,8 @@ parse_preamble (void) } /* - * If no "-t" flag was specified, don't attempt to parse the packet - * preamble to extract a time stamp. + * If no time stamp format was specified, don't attempt to parse + * the packet preamble to extract a time stamp. */ if (ts_fmt == NULL) return; |