summaryrefslogtreecommitdiff
path: root/wiretap/capsa.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-10-14 01:47:37 -0700
committerGuy Harris <guy@alum.mit.edu>2014-10-14 08:48:47 +0000
commit0cbaae4530aaec3847856e6c2701fb3af1169a79 (patch)
tree3d7bbdfdef6e2be4762647d62472ecd558775167 /wiretap/capsa.c
parent9cba3b6eb6353d5de1efd285c8ad09873659ff92 (diff)
downloadwireshark-0cbaae4530aaec3847856e6c2701fb3af1169a79.tar.gz
Fix return values.
Change-Id: I3f11d48f74d71367cc76c76dfc88763894f23f2c Reviewed-on: https://code.wireshark.org/review/4679 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/capsa.c')
-rw-r--r--wiretap/capsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/capsa.c b/wiretap/capsa.c
index b7bf683ab0..9aa7a78fa8 100644
--- a/wiretap/capsa.c
+++ b/wiretap/capsa.c
@@ -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.