diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-09 10:38:02 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-09 10:38:02 +0000 |
commit | 38edae1c718f690281958ff43d1154abc1c96247 (patch) | |
tree | 710d4b0220196b0b12691dc2d6d48394b9b8bc59 /ui/gtk/capture_file_dlg.c | |
parent | f207c70075d66f226e0eea8f33aae6105925ea25 (diff) |
Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy.
svn path=/trunk/; revision=53184
Diffstat (limited to 'ui/gtk/capture_file_dlg.c')
-rw-r--r-- | ui/gtk/capture_file_dlg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/capture_file_dlg.c b/ui/gtk/capture_file_dlg.c index 76690c1f9b..1b9952d94a 100644 --- a/ui/gtk/capture_file_dlg.c +++ b/ui/gtk/capture_file_dlg.c @@ -195,7 +195,7 @@ preview_do(GtkWidget *prev, wtap *wth) time(&time_preview); while ( (wtap_read(wth, &err, &err_info, &data_offset)) ) { phdr = wtap_phdr(wth); - cur_time = wtap_nstime_to_sec(&phdr->ts); + cur_time = nstime_to_sec(&phdr->ts); if (packets == 0) { start_time = cur_time; stop_time = cur_time; |