]> git.street.me.uk Git - andy/viking.git/commitdiff
Refactoring: really minor change
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Tue, 18 Sep 2007 19:41:17 +0000 (19:41 +0000)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Tue, 18 Sep 2007 19:41:17 +0000 (19:41 +0000)
src/curl_download.c

index 9fa52c682f67dd5934995f8e45c1613cb80500a1..ba89a275f9343a2e38baa4fcd386bc1b9fdba214 100644 (file)
@@ -95,7 +95,7 @@ int curl_download_uri ( const char *uri, FILE *f, DownloadOptions *options )
           curl_easy_setopt ( curl, CURLOPT_MAXREDIRS, options->follow_location);
         }
       }
-      curl_easy_setopt ( curl, CURLOPT_USERAGENT, "viking/" VERSION " libcurl/7.15.4" );
+      curl_easy_setopt ( curl, CURLOPT_USERAGENT, PACKAGE "/" VERSION " libcurl/7.15.4" );
       if ((cookie_file = get_cookie_file(FALSE)) != NULL)
         curl_easy_setopt(curl, CURLOPT_COOKIEFILE, cookie_file);
       res = curl_easy_perform ( curl );