diff --git a/lib/rtsp.c b/lib/rtsp.c index 50cb35f406..6b7790060e 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -957,7 +957,7 @@ CURLcode Curl_rtsp_parseheader(struct Curl_easy *data, const char *header) * gstreamer does url-encoded session ID's not covered by the standard. */ end = start; - while(*end && *end != ';' && !ISSPACE(*end)) + while(*end && *end != ';' && !ISBLANK(*end)) end++; idlen = end - start;