]> granicus.if.org Git - curl/commitdiff
fixed TRUE/FALSE case typo.
authorGunter Knauf <gk@gknw.de>
Mon, 15 Jun 2009 23:45:59 +0000 (23:45 +0000)
committerGunter Knauf <gk@gknw.de>
Mon, 15 Jun 2009 23:45:59 +0000 (23:45 +0000)
src/main.c

index 4abaace062e64a400a19fc44bf43df28a8007649..91827c52f010d88e2fa7a4d02faccd0fe2606377 100644 (file)
@@ -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;
 }