From 41dcb10d4c490e802b962090875e4911dda82221 Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 21 Sep 2012 20:55:48 +1000 Subject: [PATCH 1/2] util.c - bug - proxy - no data end condition --- util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util.c b/util.c index b3a5a1ba..3a0dbc18 100644 --- a/util.c +++ b/util.c @@ -480,6 +480,7 @@ static struct { { "socks4a:", CURLPROXY_SOCKS4A }, { "socks5h:", CURLPROXY_SOCKS5_HOSTNAME }, #endif + { NULL, 0 } }; #endif From 37f8a1f77593cdbaee65a4f63c9db99f0f81c34f Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 21 Sep 2012 22:04:39 +1000 Subject: [PATCH 2/2] reduce windows compile warnings --- compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat.h b/compat.h index c6e38d8a..f7cb4da5 100644 --- a/compat.h +++ b/compat.h @@ -57,7 +57,7 @@ enum { PRIO_PROCESS = 0, }; -static inline int setpriority(int which, int who, int prio) +static inline int setpriority(__maybe_unused int which, __maybe_unused int who, __maybe_unused int prio) { /* FIXME - actually do something */ return 0;