]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
setopt: avoid curl_ on local variable
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 10:47:01 +0000 (12:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 20:41:59 +0000 (22:41 +0200)
Closes #5906

lib/setopt.c

index c44470e91ccf3dc8f246830f029051531a178294..a8f655b85b78e8a0990ae0c56f3984c53e169715 100644 (file)
@@ -2521,9 +2521,9 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
      * Set the RTSP request method (OPTIONS, SETUP, PLAY, etc...)
      * Would this be better if the RTSPREQ_* were just moved into here?
      */
-    long curl_rtspreq = va_arg(param, long);
+    long in_rtspreq = va_arg(param, long);
     Curl_RtspReq rtspreq = RTSPREQ_NONE;
-    switch(curl_rtspreq) {
+    switch(in_rtspreq) {
     case CURL_RTSPREQ_OPTIONS:
       rtspreq = RTSPREQ_OPTIONS;
       break;