git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
accaa90
)
[iseries] return WTAP_OPEN_ERROR if file_seek() fails
author
Martin Kaiser
<wireshark@kaiser.cx>
Sun, 17 Jan 2016 16:20:34 +0000
(17:20 +0100)
committer
Martin Kaiser
<wireshark@kaiser.cx>
Sun, 17 Jan 2016 16:24:22 +0000
(16:24 +0000)
like it's done for the other file types
Change-Id: I8caa360b9c527ea642ee6b5102759ad341ad0030
Reviewed-on: https://code.wireshark.org/review/13359
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
wiretap/iseries.c
patch
|
blob
|
history
diff --git
a/wiretap/iseries.c
b/wiretap/iseries.c
index bb7e9c9d0ebedc4c969b4f044279d7fc2c8d979e..2f5bc656f7fb3072855c9f43165748b5b3be4d84 100644
(file)
--- a/
wiretap/iseries.c
+++ b/
wiretap/iseries.c
@@
-245,7
+245,7
@@
iseries_open (wtap * wth, int *err, gchar ** err_info)
if (file_seek (wth->fh, 0, SEEK_SET, err) == -1)
{
- return WTAP_OPEN_
NOT_MINE
;
+ return WTAP_OPEN_
ERROR
;
}
return WTAP_OPEN_MINE;
}