]> granicus.if.org Git - curl/commitdiff
fix compiler warning
authorYang Tse <yangsita@gmail.com>
Tue, 5 May 2009 13:04:33 +0000 (13:04 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 5 May 2009 13:04:33 +0000 (13:04 +0000)
lib/http.c

index 349b81da636dc037231e1e440ce1c409daaa87fe..a31e0f879bbb81bbdf21a80a4d2bdd1eaf3e195e 100644 (file)
@@ -1544,7 +1544,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
             else
               for(i = 0; i < gotbytes; ptr++, i++) {
                 perline++; /* amount of bytes in this line so far */
-                if(*ptr=='\x0a') {
+                if(*ptr == 0x0a) {
                   char letter;
                   int writetype;