Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
execv_dashed_external: wait for child on signal death
[gitweb.git]
/
http.c
diff --git
a/http.c
b/http.c
index 0c65639881c6572c6fb9c6038580f9d915daef05..4c4a812fcc39509e32fbcae3db21871b97a1a5eb 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-372,7
+372,7
@@
static int http_options(const char *var, const char *value, void *cb)
static void init_curl_http_auth(CURL *result)
{
- if (!http_auth.username) {
+ if (!http_auth.username
|| !*http_auth.username
) {
if (curl_empty_auth)
curl_easy_setopt(result, CURLOPT_USERPWD, ":");
return;