summaryrefslogtreecommitdiff
path: root/dpi/downloads.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-03-09 18:02:57 -0300
committerJorge Arellano Cid <jcid@dillo.org>2011-03-09 18:02:57 -0300
commitaefd0ce3df5e1f6b350f9d1afa4cf4e1dce29255 (patch)
tree284d5b236224880456154627a0e2d99cb4d5f263 /dpi/downloads.cc
parent0d86ba17ae172ebb413ff5d7b8d6ebfec40ba2c7 (diff)
parentcd7d4feb3c1ea4c91a9230621cf90c2fe949da00 (diff)
merge
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r--dpi/downloads.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc
index d289c69a..49a33df8 100644
--- a/dpi/downloads.cc
+++ b/dpi/downloads.cc
@@ -309,6 +309,8 @@ DLItem::DLItem(const char *full_filename, const char *url, DLAction action)
// Init value. Reset later, upon the first data bytes arrival
init_time = time(NULL);
+ twosec_time = onesec_time = init_time;
+
// BUG:? test a URL with ' inside.
/* escape "'" character for the shell. Is it necessary? */
esc_url = Escape_uri_str(url, "'");