[iseries] return WTAP_OPEN_ERROR if file_seek() fails
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>
This commit is contained in:
parent
accaa90d46
commit
8a0966c434
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue