Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 225265 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +4 lines)
Line  Link Here
0
-- gaia-0.1.2.orig/lib/wwfetch/wwfetch_http.c
0
++ gaia-0.1.2/lib/wwfetch/wwfetch_http.c
Lines 19-24 Link Here
19
19
20
#include "wwfetch_internal.h"
20
#include "wwfetch_internal.h"
21
21
22
#define GAIA_USERAGENT "gaia/" GAIA_VERSION
23
22
/**
24
/**
23
 * Internal function used in curl
25
 * Internal function used in curl
24
 *
26
 *
Lines 96-102 Link Here
96
	if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_HTTPHEADER, handle->curlheaders)) != CURLE_OK)
98
	if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_HTTPHEADER, handle->curlheaders)) != CURLE_OK)
97
		return WWFETCH_CURL_ERROR;
99
		return WWFETCH_CURL_ERROR;
98
100
99
	if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_USERAGENT, "gaia/%s", GAIA_VERSION)) != CURLE_OK)
101
	if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_USERAGENT, GAIA_USERAGENT)) != CURLE_OK)
100
		return WWFETCH_CURL_ERROR;
102
		return WWFETCH_CURL_ERROR;
101
103
102
	if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_URL, url)) != CURLE_OK)
104
	if ((handle->lastcurlerror = curl_easy_setopt(handle->curl, CURLOPT_URL, url)) != CURLE_OK)

Return to bug 225265