Commit 0cbaae45 authored by Guy Harris's avatar Guy Harris

Fix return values.

Change-Id: I3f11d48f74d71367cc76c76dfc88763894f23f2c
Reviewed-on: https://code.wireshark.org/review/4679Reviewed-by: default avatarGuy Harris <guy@alum.mit.edu>
parent 9cba3b6e
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment