summaryrefslogtreecommitdiff
path: root/wiretap/capsa.c
diff options
context:
space:
mode:
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.