diff --git a/src/tool_operhlp.c b/src/tool_operhlp.c index 7a98e350b..e45f102f5 100644 --- a/src/tool_operhlp.c +++ b/src/tool_operhlp.c @@ -39,12 +39,7 @@ */ char *my_useragent(void) { - char useragent[256]; /* we don't want a larger default user agent */ - - snprintf(useragent, sizeof(useragent), - CURL_NAME "/" CURL_VERSION " (" OS ") " "%s", curl_version()); - - return strdup(useragent); + return strdup( CURL_NAME "/" CURL_VERSION ); } /*