]> granicus.if.org Git - curl/commitdiff
Escape the '\'
authorGisle Vanem <gisle.vanem@gmail.com>
Tue, 29 Jan 2019 15:42:22 +0000 (16:42 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Jan 2019 15:42:22 +0000 (16:42 +0100)
A backslash should be escaped in Roff / Troff.

docs/libcurl/curl_url.3

index a14c45b6de197ce236d61eb21c27c47dfd3c8295..f366f88a23e87915e49ecb3687e199aff8f6dfaa 100644 (file)
@@ -48,7 +48,7 @@ Returns a \fBCURLU *\fP if successful, or NULL if out of memory.
     char *scheme;
     rc = curl_url_get(url, CURLUPART_SCHEME, &scheme, 0);
     if(!rc) {
-      printf("the scheme is %s\n", scheme);
+      printf("the scheme is %s\\n", scheme);
       curl_free(scheme);
     }
     curl_url_cleanup(url);