diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_USERAGENT.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_USERAGENT.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLOPT_USERAGENT.3 b/docs/libcurl/opts/CURLOPT_USERAGENT.3 index aa3c073a5..0863d4779 100644 --- a/docs/libcurl/opts/CURLOPT_USERAGENT.3 +++ b/docs/libcurl/opts/CURLOPT_USERAGENT.3 @@ -24,9 +24,11 @@ .SH NAME CURLOPT_USERAGENT \- HTTP user-agent header .SH SYNOPSIS +.nf #include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_USERAGENT, char *ua); +.fi .SH DESCRIPTION Pass a pointer to a null-terminated string as parameter. It will be used to set the User-Agent: header in the HTTP request sent to the remote server. This |