aboutsummaryrefslogtreecommitdiff
path: root/lib/rtsp.c
diff options
context:
space:
mode:
authormonnerat <pm@datasphere.ch>2010-04-19 11:17:46 +0200
committermonnerat <pm@datasphere.ch>2010-04-19 11:17:46 +0200
commit87fbcb4494dc942e38396e71a3c9c633d779a8f1 (patch)
tree94faaf04a76802292534bbab0713a8706703d081 /lib/rtsp.c
parent4bfe07640c93f8dfd3af4bb76c8346ef4a129cc8 (diff)
parent5d93525f30e8b2a422644b4ec09a82ebf04283cd (diff)
Merge branch 'master' of github.com:bagder/curl
Diffstat (limited to 'lib/rtsp.c')
-rw-r--r--lib/rtsp.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c
index 8cc200bda..032f58f7e 100644
--- a/lib/rtsp.c
+++ b/lib/rtsp.c
@@ -254,8 +254,8 @@ CURLcode Curl_rtsp(struct connectdata *conn, bool *done)
}
if(rtspreq == RTSPREQ_RECEIVE) {
- result = Curl_setup_transfer(conn, FIRSTSOCKET, -1, TRUE,
- &http->readbytecount, -1, NULL);
+ Curl_setup_transfer(conn, FIRSTSOCKET, -1, TRUE,
+ &http->readbytecount, -1, NULL);
return result;
}
@@ -503,15 +503,9 @@ CURLcode Curl_rtsp(struct connectdata *conn, bool *done)
return result;
}
- result = Curl_setup_transfer(conn, FIRSTSOCKET, -1, TRUE,
- &http->readbytecount,
- putsize?FIRSTSOCKET:-1,
- putsize?&http->writebytecount:NULL);
-
- if(result) {
- failf(data, "Failed RTSP transfer");
- return result;
- }
+ Curl_setup_transfer(conn, FIRSTSOCKET, -1, TRUE, &http->readbytecount,
+ putsize?FIRSTSOCKET:-1,
+ putsize?&http->writebytecount:NULL);
/* Increment the CSeq on success */
data->state.rtsp_next_client_CSeq++;