Fix return values.
Change-Id: I3f11d48f74d71367cc76c76dfc88763894f23f2c Reviewed-on: https://code.wireshark.org/review/4679 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
9cba3b6eb6
commit
0cbaae4530
|
@ -174,25 +174,25 @@ wtap_open_return_val capsa_open(wtap *wth, int *err, gchar **err_info)
|
|||
* Link speed, in megabytes/second?
|
||||
*/
|
||||
if (!file_skip(wth->fh, 2, err))
|
||||
return FALSE;
|
||||
return WTAP_OPEN_ERROR;
|
||||
|
||||
/*
|
||||
* Flags of some sort?
|
||||
*/
|
||||
if (!file_skip(wth->fh, 4, err))
|
||||
return FALSE;
|
||||
return WTAP_OPEN_ERROR;
|
||||
|
||||
/*
|
||||
* File size.
|
||||
*/
|
||||
if (!file_skip(wth->fh, 4, err))
|
||||
return FALSE;
|
||||
return WTAP_OPEN_ERROR;
|
||||
|
||||
/*
|
||||
* Zeroes?
|
||||
*/
|
||||
if (!file_skip(wth->fh, 4, err))
|
||||
return FALSE;
|
||||
return WTAP_OPEN_ERROR;
|
||||
|
||||
/*
|
||||
* Count of packets.
|
||||
|
|
Loading…
Reference in New Issue