diff options
author | corvid <corvid@lavabit.com> | 2011-02-11 02:40:32 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-02-11 02:40:32 +0000 |
commit | cd7d4feb3c1ea4c91a9230621cf90c2fe949da00 (patch) | |
tree | 4704d746756fc679001d8e4afa40a001b035d343 /dpi/downloads.cc | |
parent | 1d804614e3a1f0f45edb80170b4096111364d134 (diff) |
downloads dpi: init some time variables
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-February/008058.html
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r-- | dpi/downloads.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index 7f1aa18f..1a70d235 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -318,6 +318,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, "'"); |