diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 10:09:21 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-20 08:07:35 +0200 |
commit | 8f593f6d3bbd5140fbe8ad4cea780197869e4a22 (patch) | |
tree | 943a47111ae611bf04026096187537df2d80fccf | |
parent | 2ba62322a74a408e90b53afb185ba555a157ecb3 (diff) |
setopt: store CURLOPT_RTSP_SERVER_CSEQ correctly
Fixes bug detected by PVS-Studio
Fixes #4374
-rw-r--r-- | lib/setopt.c | 2 |
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: |