summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transports/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/http.c b/src/transports/http.c
index a7eff7365..ae608ab3d 100644
--- a/src/transports/http.c
+++ b/src/transports/http.c
@@ -260,7 +260,7 @@ static int on_headers_complete(http_parser *parser)
if (parser->status_code == 401 &&
get_verb == s->verb) {
- if (!t->owner->cred_acquire_payload) {
+ if (!t->owner->cred_acquire_cb) {
no_callback = 1;
} else {
int allowed_types = 0;