diff --git a/backend/escl/escl_newjob.c b/backend/escl/escl_newjob.c index 1dfeb5d21..ed2f4b0e9 100644 --- a/backend/escl/escl_newjob.c +++ b/backend/escl/escl_newjob.c @@ -298,7 +298,7 @@ wake_up_device: } else { if (download->memory != NULL) { - char *tmp_location = strstr(download->memory, "Location:"); + char *tmp_location = strcasestr(download->memory, "Location:"); if (tmp_location) { temporary = strchr(tmp_location, '\r'); if (temporary == NULL)