Loading lib/rtsp.c +4 −4 Original line number Diff line number Diff line Loading @@ -799,12 +799,12 @@ CURLcode Curl_rtsp_parseheader(struct connectdata *conn, /* If the Session ID is not set, and we find it in a response, then set * it. * * Allow any content, up to the field seperator or end of line. RFC 2326 * isn't 100% clear on the session ID and for example gstreamer does * url-encoded session ID's not covered by the standard. * Allow any non whitespace content, up to the field seperator or end of * line. RFC 2326 isn't 100% clear on the session ID and for example * gstreamer does url-encoded session ID's not covered by the standard. */ char *end = start; while(*end && *end != ';') while(*end && *end != ';' && !ISSPACE(*end)) end++; /* Copy the id substring into a new buffer */ Loading Loading
lib/rtsp.c +4 −4 Original line number Diff line number Diff line Loading @@ -799,12 +799,12 @@ CURLcode Curl_rtsp_parseheader(struct connectdata *conn, /* If the Session ID is not set, and we find it in a response, then set * it. * * Allow any content, up to the field seperator or end of line. RFC 2326 * isn't 100% clear on the session ID and for example gstreamer does * url-encoded session ID's not covered by the standard. * Allow any non whitespace content, up to the field seperator or end of * line. RFC 2326 isn't 100% clear on the session ID and for example * gstreamer does url-encoded session ID's not covered by the standard. */ char *end = start; while(*end && *end != ';') while(*end && *end != ';' && !ISSPACE(*end)) end++; /* Copy the id substring into a new buffer */ Loading