summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-19 10:09:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-19 10:09:21 +0200
commitfe0487858fa7608104680842c28a832c97af12a6 (patch)
treef45dd9e6814f42c327963b1426ec9890a998725a
parentf129a41d97918a665b24fcb166b0e7d8638007c9 (diff)
downloadcurl-fe0487858fa7608104680842c28a832c97af12a6.tar.gz
setopt: store CURLOPT_RTSP_SERVER_CSEQ correctly
-rw-r--r--lib/setopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index db3c91a92..7058a249c 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2500,7 +2500,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
case CURLOPT_RTSP_SERVER_CSEQ:
/* Same as the above, but for server-initiated requests */
- data->state.rtsp_next_client_CSeq = va_arg(param, long);
+ data->state.rtsp_next_server_CSeq = va_arg(param, long);
break;
case CURLOPT_INTERLEAVEDATA: