summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-11-04 13:53:33 -0400
committerJunio C Hamano <gitster@pobox.com>2011-11-04 12:05:01 -0700
commit093c44a3600323c3ca7a8d28a0d2ba2bc145dd47 (patch)
tree7f3d04849962fdf74c5434386cde9eb85b5e9681 /http.h
parentdf26c471278f13ca6ad96b12a533ef4172323c13 (diff)
downloadgit-093c44a3600323c3ca7a8d28a0d2ba2bc145dd47.tar.gz
http: drop "local" member from request structmf/curl-select-fdset
This is a FILE pointer in the case that we are sending our output to a file. We originally used it to run ftell() to determine whether data had been written to our file during our last call to curl. However, as of the last patch, we no longer care about that flag anymore. All uses of this struct member are now just book-keeping that can go away. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r--http.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/http.h b/http.h
index d0089d1f7a..368bc0e80a 100644
--- a/http.h
+++ b/http.h
@@ -49,7 +49,6 @@ struct slot_results {
struct active_request_slot {
CURL *curl;
- FILE *local;
int in_use;
CURLcode curl_result;
long http_code;