diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-05-05 21:41:51 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-05-05 21:41:51 +0000 |
commit | c3f165c77919b66fb2f834f9747286c23d698830 (patch) | |
tree | 866446883355be0737a566e161a1dac2b76e8abf /dumpcap.c | |
parent | d079e29cac223c2c35d6ee90732c29c6a2ce2ebd (diff) |
Forgot to remove my editor's tabs before committing...
svn path=/trunk/; revision=37002
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; |