]> granicus.if.org Git - transmission/commitdiff
#1007: check_auth space delimiter bug
authorCharles Kerr <charles@transmissionbt.com>
Mon, 9 Jun 2008 23:28:14 +0000 (23:28 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Mon, 9 Jun 2008 23:28:14 +0000 (23:28 +0000)
libtransmission/rpc-server.c
third-party/shttpd/config.h

index c8dddcfb4bcea5165a5ac795793de1a71c696b36..cf8fa273cdbdcd34186c4ea066490bff257f94b3 100644 (file)
@@ -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 ", " */
index ec9e107487e3cdf58814a396eb98417e39cc3311..eaaee66e0928cff730abd0d62daa091454e0d933 100644 (file)
@@ -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   */