diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-05 21:41:51 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-05 21:41:51 +0000 |
commit | 44d5a32e4db99ab834a0eb23168029a10b2e9588 (patch) | |
tree | 866446883355be0737a566e161a1dac2b76e8abf /dumpcap.c | |
parent | 30dfcc1a883ab381cc032b1f2c47c5df63b29011 (diff) |
Forgot to remove my editor's tabs before committing...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37002 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -3011,16 +3011,16 @@ capture_loop_start(capture_options *capture_opts, gboolean *stats_known, struct /* Only update once every 500ms so as not to overload slow displays. * This also prevents too much context-switching between the dumpcap * and wireshark processes. - */ + */ #define DUMPCAP_UPD_TIME 500 #ifdef WIN32 - cur_time = GetTickCount(); - if ( (cur_time - upd_time) > DUMPCAP_UPD_TIME) { + cur_time = GetTickCount(); + if ( (cur_time - upd_time) > DUMPCAP_UPD_TIME) { #else - gettimeofday(&cur_time, NULL); - if ((cur_time.tv_sec * 1000000 + cur_time.tv_usec) > - (upd_time.tv_sec * 1000000 + upd_time.tv_usec + DUMPCAP_UPD_TIME*1000)) { + gettimeofday(&cur_time, NULL); + if ((cur_time.tv_sec * 1000000 + cur_time.tv_usec) > + (upd_time.tv_sec * 1000000 + upd_time.tv_usec + DUMPCAP_UPD_TIME*1000)) { #endif upd_time = cur_time; |