From 5169abbbe7865295fc8a8415f49cc76e58f23a48 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 20 Mar 2019 09:44:48 -0700 Subject: 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 --- ui/text_import.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/text_import.c') 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; -- cgit v1.2.3