Diff of /trunk/src/gcvote.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 160 by harbaum, Thu Nov 5 07:00:52 2009 UTC revision 161 by harbaum, Thu Nov 5 08:58:28 2009 UTC
# Line 149  static void curl_set_proxy(CURL *curl, p Line 149  static void curl_set_proxy(CURL *curl, p
149        curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, cred);        curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, cred);
150        g_free(cred);        g_free(cred);
151      }      }
152    }    } else
153        printf("gcvote: no proxy configured\n");
154  }  }
155    
156  void gcvote_request_free(gcvote_request_t *request) {  void gcvote_request_free(gcvote_request_t *request) {
# Line 359  gcvote_request_t *gcvote_request(appdata Line 360  gcvote_request_t *gcvote_request(appdata
360      return NULL;      return NULL;
361    }    }
362    
363      request->proxy = appdata->proxy;
364    request->id += strlen(ID_PATTERN);    request->id += strlen(ID_PATTERN);
365    request->refcount = 2;   // master and worker hold a reference    request->refcount = 2;   // master and worker hold a reference
366    request->cb = cb;    request->cb = cb;

Legend:
Removed from v.160  
changed lines
  Added in v.161