author | Tay Ray Chuan <rctay89@gmail.com> | |
Mon, 10 Aug 2009 15:59:55 +0000 (23:59 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Aug 2009 20:26:11 +0000 (13:26 -0700) | ||
commit | bb99190e27c455867bb364059f9a44c0571fc914 | |
tree | 67659f3eefdce3b61e05c8e673adf3033ac2dca4 | tree | snapshot |
parent | 5ae9ebfd582a6e8c2d6fd3d27b7df6cb12a98839 | commit | diff |
http.c: replace usage of temporary variable for urls
Use preq->url in new_http_pack_request and freq->url in
new_http_object_request when calling curl_setopt(CURLOPT_URL), instead
of using an intermediate variable, 'url'.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use preq->url in new_http_pack_request and freq->url in
new_http_object_request when calling curl_setopt(CURLOPT_URL), instead
of using an intermediate variable, 'url'.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c | diff | blob | history |