diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 23:49:05 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 23:49:05 +0000 |
commit | 9377f995826e595f427d87d0827632439d231d98 (patch) | |
tree | b79f3b388ac3b2f20e08ea699fbf0a869c35e781 /gtk/compare_stat.c | |
parent | bc27da1fca887271760cb127b28348ce2c4a7418 (diff) |
Add some null checks.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29285 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/compare_stat.c')
-rw-r--r-- | gtk/compare_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/compare_stat.c b/gtk/compare_stat.c index e7240c32e4..097c1bf629 100644 --- a/gtk/compare_stat.c +++ b/gtk/compare_stat.c @@ -405,7 +405,7 @@ call_foreach_merge_settings(gpointer value, gpointer arg) if(fInfoTemp==NULL){ fprintf(stderr,"ERROR: start number not set correctly\n"); } - if(fmod(fInfoTemp->zebra_time.nsecs, 2)){ + if(fInfoTemp && fmod(fInfoTemp->zebra_time.nsecs, 2)){ /*first file*/ cs->stop_packet_nr_first=cs->start_packet_nr_first+abs(cs->second_file_amount-(cs->start_packet_nr_second-cs->first_file_amount)); if(cs->stop_packet_nr_first>(tot_packet_amount-cs->second_file_amount)){ |