summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wiretap/stanag4607.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/stanag4607.c b/wiretap/stanag4607.c
index 12bc05885c..d4a5ed5317 100644
--- a/wiretap/stanag4607.c
+++ b/wiretap/stanag4607.c
@@ -133,7 +133,7 @@ static gboolean stanag4607_read_file(wtap *wth, FILE_T fh, struct wtap_pkthdr *p
/* wind back to the start of the packet ... */
if (file_seek(fh, - offset, SEEK_CUR, err) == -1)
- goto fail;
+ return FALSE;
return wtap_read_packet_bytes(fh, buf, packet_size, err, err_info);