Browse Source

Merge pull request #311 from kanoi/master

util.c - bug - proxy - no data end condition
Con Kolivas 13 years ago
parent
commit
77d2a2096c
2 changed files with 2 additions and 1 deletions
  1. 1 1
      compat.h
  2. 1 0
      util.c

+ 1 - 1
compat.h

@@ -57,7 +57,7 @@ enum {
 	PRIO_PROCESS		= 0,
 	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 */
 	/* FIXME - actually do something */
 	return 0;
 	return 0;

+ 1 - 0
util.c

@@ -480,6 +480,7 @@ static struct {
 	{ "socks4a:",	CURLPROXY_SOCKS4A },
 	{ "socks4a:",	CURLPROXY_SOCKS4A },
 	{ "socks5h:",	CURLPROXY_SOCKS5_HOSTNAME },
 	{ "socks5h:",	CURLPROXY_SOCKS5_HOSTNAME },
 #endif
 #endif
+	{ NULL,	0 }
 };
 };
 #endif
 #endif