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 349b81d..a31e0f8 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;