aboutsummaryrefslogtreecommitdiff
path: root/lib/file.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-13 12:13:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-13 12:13:30 +0000
commit6a921197e2170759e9b7bb674eed3e6ace5f3a07 (patch)
tree54ce31ef5b01a928f793ad5bf2a479e8b60160a0 /lib/file.c
parentfa57a8a78ef52328129b23029ca375a1e809d029 (diff)
the now and start variables were never really used
Diffstat (limited to 'lib/file.c')
-rw-r--r--lib/file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/file.c b/lib/file.c
index 3bfc342d4..9da985f87 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -174,8 +174,6 @@ CURLcode Curl_file(struct connectdata *conn)
struct SessionHandle *data = conn->data;
char *buf = data->state.buffer;
curl_off_t bytecount = 0;
- struct timeval start = Curl_tvnow();
- struct timeval now = start;
int fd;
/* get the fd from the connection phase */
@@ -261,11 +259,9 @@ CURLcode Curl_file(struct connectdata *conn)
if(res)
return res;
- now = Curl_tvnow();
if(Curl_pgrsUpdate(conn))
res = CURLE_ABORTED_BY_CALLBACK;
}
- now = Curl_tvnow();
if(Curl_pgrsUpdate(conn))
res = CURLE_ABORTED_BY_CALLBACK;