Permalink
Browse files

Escape the '\'

A backslash should be escaped in Roff / Troff.
  • Loading branch information...
gvanem committed Jan 29, 2019
1 parent 3de6074 commit 06f744d447af6648a00f0571116b5b901854abc4
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/libcurl/curl_url.3
@@ -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);

3 comments on commit 06f744d

@gvanem

This comment has been minimized.

Copy link
Member Author

gvanem replied Jan 29, 2019

Sorry if I messed up or if this PR is not up to curl standards. But man curl_url displays correctly here now:

   if(!rc) {
     printf("the scheme is %s\n", scheme);
     curl_free(scheme);
@jay

This comment has been minimized.

Copy link
Member

jay replied Jan 29, 2019

Thanks. In the future please add an area like curl_url.3: Escape the '\'. Refer to push-access-guidelines and write-good-commit-messages. Look at the commit history for examples.

@gvanem

This comment has been minimized.

Copy link
Member Author

gvanem replied Jan 30, 2019

@jay Okay, I did this change here in the Github editor (since it was so simple). I'm still a n00b when it comes to all these Git terms; squash, upstream, etc. I mostly use the git core command for own projects.

Please sign in to comment.