aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pipeline.c b/lib/pipeline.c
index 8d2544b83..270df4192 100644
--- a/lib/pipeline.c
+++ b/lib/pipeline.c
@@ -251,7 +251,7 @@ CURLMcode Curl_pipeline_set_site_blacklist(char **sites,
bool Curl_pipeline_server_blacklisted(struct SessionHandle *handle,
char *server_name)
{
- if(handle->multi) {
+ if(handle->multi && server_name) {
struct curl_llist *blacklist =
Curl_multi_pipelining_server_bl(handle->multi);