http.c: replace usage of temporary variable for urls
authorTay Ray Chuan <rctay89@gmail.com>
Mon, 10 Aug 2009 15:59:55 +0000 (23:59 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2009 20:26:11 +0000 (13:26 -0700)
commitbb99190e27c455867bb364059f9a44c0571fc914
tree67659f3eefdce3b61e05c8e673adf3033ac2dca4
parent5ae9ebfd582a6e8c2d6fd3d27b7df6cb12a98839
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>
http.c