aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-06-15 23:45:59 +0000
committerGunter Knauf <gk@gknw.de>2009-06-15 23:45:59 +0000
commitc40365e9b69c33edf9c8cc8fc624d43ad5772017 (patch)
tree4e87658ccee04da365ec3c72217d98adc5688c83
parent4b6d3a2bfdb46fd6a698b9218bbceea4ce865ac2 (diff)
fixed TRUE/FALSE case typo.
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 4abaace06..91827c52f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3274,7 +3274,7 @@ static size_t my_fwrite(void *buffer, size_t sz, size_t nmemb, void *stream)
}
if(config->readbusy) {
- config->readbusy = false;
+ config->readbusy = FALSE;
curl_easy_pause(config->easy, CURLPAUSE_CONT);
}
@@ -3346,13 +3346,13 @@ static size_t my_fread(void *buffer, size_t sz, size_t nmemb, void *userp)
if(rc < 0) {
if(errno == EAGAIN) {
errno = 0;
- in->config->readbusy = true;
+ in->config->readbusy = TRUE;
return CURL_READFUNC_PAUSE;
}
/* since size_t is unsigned we can't return negative values fine */
rc = 0;
}
- in->config->readbusy = false;
+ in->config->readbusy = FALSE;
return (size_t)rc;
}