From 0fced3a4318f2fc0894ef979560350b4827e7a94 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 9 Jun 2008 23:28:14 +0000 Subject: [PATCH] #1007: check_auth space delimiter bug --- libtransmission/rpc-server.c | 2 +- third-party/shttpd/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/rpc-server.c b/libtransmission/rpc-server.c index c8dddcfb4..cf8fa273c 100644 --- a/libtransmission/rpc-server.c +++ b/libtransmission/rpc-server.c @@ -308,7 +308,7 @@ cidrize( const char * acl ) FOR_EACH_WORD_IN_LIST( walk, len ) { cidrizeOne( walk, len, out ); - evbuffer_add_printf( out, ", " ); + evbuffer_add_printf( out, "," ); } /* the -2 is to eat the final ", " */ diff --git a/third-party/shttpd/config.h b/third-party/shttpd/config.h index ec9e10748..eaaee66e0 100644 --- a/third-party/shttpd/config.h +++ b/third-party/shttpd/config.h @@ -21,7 +21,7 @@ #define CGI_EXT "cgi,pl,php" /* Default CGI extensions */ #define SSI_EXT "shtml,shtm" /* Default SSI extensions */ #define REALM "mydomain.com" /* Default authentication realm */ -#define DELIM_CHARS " ," /* Separators for lists */ +#define DELIM_CHARS "," /* Separators for lists */ #define EXPIRE_TIME 3600 /* Expiration time, seconds */ #define ENV_MAX 4096 /* Size of environment block */ #define CGI_ENV_VARS 64 /* Maximum vars passed to CGI */ -- 2.40.0