aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cb_dbg.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-10-06 17:39:00 +0200
committerYang Tse <yangsita@gmail.com>2011-10-06 17:39:00 +0200
commitf7bfdbabf2d5398f4c266eabb0992a04af661f22 (patch)
tree694a1f91f1aeffaf7aea0f29a05179079af7d700 /src/tool_cb_dbg.c
parent7afccf7a1ebb211905de6abd415fce416058a126 (diff)
curl tool: reviewed code moved to tool_*.[ch] files
Diffstat (limited to 'src/tool_cb_dbg.c')
-rw-r--r--src/tool_cb_dbg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tool_cb_dbg.c b/src/tool_cb_dbg.c
index 7b20a0c01..7ac9a7339 100644
--- a/src/tool_cb_dbg.c
+++ b/src/tool_cb_dbg.c
@@ -27,11 +27,10 @@
/* use our own printf() functions */
#include "curlx.h"
-#include "curlutil.h"
-
#include "tool_cfgable.h"
#include "tool_msgs.h"
#include "tool_cb_dbg.h"
+#include "tool_util.h"
#include "memdebug.h" /* keep this as LAST include */
@@ -60,7 +59,7 @@ int tool_debug_cb(CURL *handle, curl_infotype type,
(void)handle; /* not used */
if(config->tracetime) {
- tv = cutil_tvnow();
+ tv = tvnow();
if(!known_offset) {
epoch_offset = time(NULL) - tv.tv_sec;
known_offset = 1;