]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
http_proxy: provide missing arg to infof() call
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 Apr 2023 12:05:00 +0000 (14:05 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Apr 2023 21:48:38 +0000 (23:48 +0200)
Pointed out by Coverity

Closes #10904

lib/http_proxy.c

index 6e60f8cc2e9e4865cdeec45c5959e6209d15d4b8..add376ba4fed0d25738507ed2d34f48834b5bc12 100644 (file)
@@ -106,7 +106,7 @@ connect_sub:
 #endif
     default:
       DEBUGF(LOG_CF(data, cf, "installing subfilter for default HTTP/1.1"));
-      infof(data, "CONNECT tunnel: unsupported ALPN(%d) negotiated");
+      infof(data, "CONNECT tunnel: unsupported ALPN(%d) negotiated", alpn);
       result = CURLE_COULDNT_CONNECT;
       goto out;
     }