diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-10-07 00:30:35 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-10-07 07:35:43 +0000 |
commit | 3f101f2b3f58cd1a0a1f9658c65a4e1d76a452e3 (patch) | |
tree | 9dfa04cc06f8947786f6a3dbf1b327acec3cc498 /wiretap | |
parent | 04bca658f9a85e908702fdb58e03c1a2fb4ee53f (diff) | |
download | wireshark-3f101f2b3f58cd1a0a1f9658c65a4e1d76a452e3.tar.gz |
Fix a comment, clean up some whitespace.
Change-Id: I5d3d518eee2d61dd896b44c2a61d66057f3c2f7f
Reviewed-on: https://code.wireshark.org/review/4516
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/erf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/erf.c b/wiretap/erf.c index f8c61546db..cfad9d0a88 100644 --- a/wiretap/erf.c +++ b/wiretap/erf.c @@ -121,7 +121,7 @@ extern int erf_open(wtap *wth, int *err, gchar **err_info) if (!wtap_read_bytes_or_eof(wth->fh,&header,sizeof(header),err,err_info)) { if (*err == 0) { - /* EOF - all records have been successfully checked */ + /* EOF - all records have been successfully checked, accept the file */ break; } if (*err == WTAP_ERR_SHORT_READ) { @@ -412,7 +412,7 @@ static gboolean erf_read_header(FILE_T fh, type = erf_header->type; while (type & 0x80){ if (!wtap_read_bytes(fh, &erf_exhdr, sizeof(erf_exhdr), - err, err_info)) + err, err_info)) return FALSE; if (bytes_read != NULL) *bytes_read += (guint32)sizeof(erf_exhdr); |