]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
prevent compiler warning with picky compilers
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jun 2004 10:28:14 +0000 (10:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Jun 2004 10:28:14 +0000 (10:28 +0000)
lib/sendf.c

index f6d2374af31b980e6f91704bac41b6bf04913d28..a4fbb51829abf962e33148ea7734248609affaec 100644 (file)
@@ -469,7 +469,7 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type,
   int rc;
   if(data->set.printhost && host) {
     char buffer[160];
-    char *t=NULL;
+    const char *t=NULL;
     switch (type) {
     case CURLINFO_HEADER_IN:
     case CURLINFO_DATA_IN: