mirror of
https://github.com/curl/curl.git
synced 2026-07-26 20:57:18 +03:00
make empty names look fine in verbose output
This commit is contained in:
parent
d42c6b7e78
commit
9935d33b8e
1 changed files with 2 additions and 2 deletions
|
|
@ -238,7 +238,7 @@ CURLcode http_auth_headers(struct connectdata *conn,
|
|||
Curl_http_auth_stage(data, 401);
|
||||
}
|
||||
infof(data, "Proxy auth using %s with user '%s'\n",
|
||||
auth, conn->proxyuser);
|
||||
auth, conn->proxyuser?conn->proxyuser:"");
|
||||
}
|
||||
/* Send web authentication header if needed */
|
||||
if (data->state.authstage == 401) {
|
||||
|
|
@ -287,7 +287,7 @@ CURLcode http_auth_headers(struct connectdata *conn,
|
|||
}
|
||||
if(auth)
|
||||
infof(data, "Server auth using %s with user '%s'\n",
|
||||
auth, conn->user);
|
||||
auth, conn->user?conn->user:"");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue