]> granicus.if.org Git - curl/commitdiff
RTSP: removed another piece of dead code
authorDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jun 2015 12:29:57 +0000 (14:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jun 2015 12:29:57 +0000 (14:29 +0200)
Coverity CID 1306668

lib/rtsp.c

index e33069a93887ff0181b665625f41f529dbc92954..c30afd39d3d48050149d201c5e7fcd891f546fc8 100644 (file)
@@ -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;