summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rtsp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c
index e33069a93..c30afd39d 100644
--- a/lib/rtsp.c
+++ b/lib/rtsp.c
@@ -440,8 +440,7 @@ static CURLcode rtsp_do(struct connectdata *conn, bool *done)
Curl_add_bufferf(req_buffer,
"%s %s RTSP/1.0\r\n" /* Request Stream-URI RTSP/1.0 */
"CSeq: %ld\r\n", /* CSeq */
- (p_request ? p_request : ""), p_stream_uri,
- rtsp->CSeq_sent);
+ p_request, p_stream_uri, rtsp->CSeq_sent);
if(result)
return result;