summaryrefslogtreecommitdiff
path: root/lib/speedcheck.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-05-22 14:12:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-05-22 14:12:12 +0000
commit96dde76b99897352aa3d0877a0b621a9e605733e (patch)
tree4fdab47b4c9769405aa799bf65971c31abf2de6b /lib/speedcheck.c
parentfb9d1ff00f76836dd66725de869656c5fa53b071 (diff)
downloadcurl-96dde76b99897352aa3d0877a0b621a9e605733e.tar.gz
moved here from the newlib branch
Diffstat (limited to 'lib/speedcheck.c')
-rw-r--r--lib/speedcheck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/speedcheck.c b/lib/speedcheck.c
index 5647b50e2..48772b39c 100644
--- a/lib/speedcheck.c
+++ b/lib/speedcheck.c
@@ -48,7 +48,7 @@
#include "sendf.h"
#include "speedcheck.h"
-UrgError speedcheck(struct UrlData *data,
+CURLcode speedcheck(struct UrlData *data,
struct timeval now)
{
static struct timeval keeps_speed;
@@ -69,13 +69,13 @@ UrgError speedcheck(struct UrlData *data,
"Less than %d bytes/sec transfered the last %d seconds",
data->low_speed_limit,
data->low_speed_time);
- return URG_OPERATION_TIMEOUTED;
+ return CURLE_OPERATION_TIMEOUTED;
}
}
else {
/* we keep up the required speed all right */
keeps_speed = now;
}
- return URG_OK;
+ return CURLE_OK;
}