summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-18 14:29:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-18 14:29:57 +0200
commit307f212379c2ffa2181bdc523a7cc951aa8d1452 (patch)
tree837ca3793631a24d2a8ea67c57281d6a15ef2438
parent26ddc536b0ab5fc62d6503c82c34dd3dbf112dc3 (diff)
downloadcurl-307f212379c2ffa2181bdc523a7cc951aa8d1452.tar.gz
RTSP: removed another piece of dead code
Coverity CID 1306668
-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;