Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
grip
grip-3.2.0-curl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grip-3.2.0-curl.patch of Package grip
--- grip-3.2.0/src/discdb.c.xx 2004-09-14 15:47:32.000000000 +0200 +++ grip-3.2.0/src/discdb.c 2004-09-14 17:20:06.049373867 +0200 @@ -187,17 +187,17 @@ g_string_sprintf(proxy,"%s:%d",server->proxy->name, server->proxy->port); - curl_easy_setopt(curl_handle,CURLOPT_PROXY,proxy); - - g_string_free(proxy,TRUE); + curl_easy_setopt(curl_handle,CURLOPT_PROXY,proxy->str); + + /* do not free the string, curl keeps a reference */ if(*server->proxy->username) { + user=g_string_new(NULL); g_string_sprintf(user,"%s:%s",server->proxy->username, server->proxy->pswd); - curl_easy_setopt(curl_handle,CURLOPT_PROXYUSERPWD,user); - - g_string_free(user,TRUE); + curl_easy_setopt(curl_handle,CURLOPT_PROXYUSERPWD,user->str); + /* do not free the string, curl keeps a reference */ } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor