summaryrefslogtreecommitdiff
path: root/lib/curl_rtmp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-12-06 15:33:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-12-06 15:33:38 +0100
commit5965d4554da93cba5a866f9961c9b8f7bf163215 (patch)
treea9eaf7355c0a7fb837e5b2f86eb8f1cf0459de19 /lib/curl_rtmp.c
parent34127c7adc1f75e8f6f6404c1e44a4170c387f11 (diff)
downloadcurl-5965d4554da93cba5a866f9961c9b8f7bf163215.tar.gz
disconnect: pass on the dead_connection argument
Cleanup fix after Kamil's commit 5c7c9a768d0093
Diffstat (limited to 'lib/curl_rtmp.c')
-rw-r--r--lib/curl_rtmp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/curl_rtmp.c b/lib/curl_rtmp.c
index df30dc1f6..bc1769e67 100644
--- a/lib/curl_rtmp.c
+++ b/lib/curl_rtmp.c
@@ -51,7 +51,7 @@ static CURLcode rtmp_setup(struct connectdata *conn);
static CURLcode rtmp_do(struct connectdata *conn, bool *done);
static CURLcode rtmp_done(struct connectdata *conn, CURLcode, bool premature);
static CURLcode rtmp_connect(struct connectdata *conn, bool *done);
-static CURLcode rtmp_disconnect(struct connectdata *conn);
+static CURLcode rtmp_disconnect(struct connectdata *conn, bool dead_connection);
static Curl_recv rtmp_recv;
static Curl_send rtmp_send;
@@ -236,9 +236,11 @@ static CURLcode rtmp_done(struct connectdata *conn, CURLcode status,
return CURLE_OK;
}
-static CURLcode rtmp_disconnect(struct connectdata *conn)
+static CURLcode rtmp_disconnect(struct connectdata *conn,
+ bool dead_connection)
{
RTMP *r = conn->proto.generic;
+ (void)dead_connection;
if (r) {
conn->proto.generic = NULL;
RTMP_Close(r);