]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: Change some CRLF line endings to LF
authorTor Arntsen <tor@spacetec.no>
Sun, 16 May 2010 20:01:17 +0000 (22:01 +0200)
committerKamil Dudka <kdudka@redhat.com>
Sun, 16 May 2010 20:34:02 +0000 (22:34 +0200)
An update had added a couple of lines with DOS line endings,
and some compilers will choke on that (e.g. the Tru64 compiler).

lib/multi.c
lib/strerror.c

index 34d7eccbbcd242e4baa67fe76187de8d0d14f484..44771a309b3a5dbff420c4b89c381cbd37120fb8 100644 (file)
@@ -1462,7 +1462,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
 
       if(easy->easy_handle->set.wildcardmatch) {
         if(easy->easy_handle->wildcard.state != CURLWC_DONE) {
-          /* if a wildcard is set and we are not ending -> lets start again\r
+          /* if a wildcard is set and we are not ending -> lets start again
              with CURLM_STATE_INIT */
           result = CURLM_CALL_MULTI_PERFORM;
           multistate(easy, CURLM_STATE_INIT);
index 6fde477021aca1714883e4d85fb28878be044e77..e8ecea59fda4e492ebf5b84c4548bd544441d1fd 100644 (file)
@@ -279,7 +279,7 @@ curl_easy_strerror(CURLcode error)
     return "Unable to parse FTP file list";
 
   case CURLE_CHUNK_FAILED:
-    return "Chunk callback failed";\r
+    return "Chunk callback failed";
 
     /* error codes not used by current libcurl */
   case CURLE_OBSOLETE4: