diff options
Diffstat (limited to 'lib/hsts.c')
-rw-r--r-- | lib/hsts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hsts.c b/lib/hsts.c index fa91cf63f..052dc1157 100644 --- a/lib/hsts.c +++ b/lib/hsts.c @@ -466,7 +466,7 @@ static CURLcode hsts_pull(struct Curl_easy *data, struct hsts *h) return result; } else if(sc == CURLSTS_FAIL) - return CURLE_BAD_FUNCTION_ARGUMENT; + return CURLE_ABORTED_BY_CALLBACK; } while(sc == CURLSTS_OK); } return CURLE_OK; |