aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'sharkd_session.c')
-rw-r--r--sharkd_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharkd_session.c b/sharkd_session.c
index 61d218fac8..1a165a9fa2 100644
--- a/sharkd_session.c
+++ b/sharkd_session.c
@@ -607,9 +607,9 @@ sharkd_session_process_status(void)
g_free(name);
}
- if (cfile.frame_set_info.wth)
+ if (cfile.provider.wth)
{
- gint64 file_size = wtap_file_size(cfile.frame_set_info.wth, NULL);
+ gint64 file_size = wtap_file_size(cfile.provider.wth, NULL);
if (file_size > 0)
printf(",\"filesize\":%" G_GINT64_FORMAT, file_size);