From 9d41c658fe5b003d3a16646d1d05da8c68596b01 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 2 Jan 2014 20:47:21 +0000 Subject: No seek-read routines use the length argument, so eliminate it from wtap_seek_read(). svn path=/trunk/; revision=54570 --- file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 299be72457..b84c570802 100644 --- a/file.c +++ b/file.c @@ -1754,8 +1754,7 @@ cf_read_frame_r(capture_file *cf, const frame_data *fdata, } #endif - if (!wtap_seek_read(cf->wth, fdata->file_off, phdr, buf, - fdata->cap_len, &err, &err_info)) { + if (!wtap_seek_read(cf->wth, fdata->file_off, phdr, buf, &err, &err_info)) { display_basename = g_filename_display_basename(cf->filename); switch (err) { -- cgit v1.2.1