diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 15:02:09 +0100 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 15:02:09 +0100 |
commit | 9bda22e70219c3056c07837803d0289b76453adb (patch) | |
tree | 0da32b7188892b1faea5fb1a6a3d97f587a8b54e /dbutil.c | |
parent | 23ac7f56fa2acd9f35e6b8ca36602f3c14e986cd (diff) |
more hard tab
Diffstat (limited to 'dbutil.c')
-rw-r--r-- | dbutil.c | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -157,26 +157,26 @@ void debug_start_net() { if (getenv("DROPBEAR_DEBUG_NET_TIMESTAMP")) { - /* Timestamps start from first network activity */ - struct timeval tv; - gettimeofday(&tv, NULL); - debug_start_time = tv.tv_sec + (tv.tv_usec / 1000000.0); - TRACE(("Resetting Dropbear TRACE timestamps")) + /* Timestamps start from first network activity */ + struct timeval tv; + gettimeofday(&tv, NULL); + debug_start_time = tv.tv_sec + (tv.tv_usec / 1000000.0); + TRACE(("Resetting Dropbear TRACE timestamps")) } } static double time_since_start() { - double nowf; - struct timeval tv; - gettimeofday(&tv, NULL); - nowf = tv.tv_sec + (tv.tv_usec / 1000000.0); - if (debug_start_time < 0) - { - debug_start_time = nowf; - return 0; - } - return nowf - debug_start_time; + double nowf; + struct timeval tv; + gettimeofday(&tv, NULL); + nowf = tv.tv_sec + (tv.tv_usec / 1000000.0); + if (debug_start_time < 0) + { + debug_start_time = nowf; + return 0; + } + return nowf - debug_start_time; } void dropbear_trace(const char* format, ...) { |