summaryrefslogtreecommitdiff
blob: 54a00e072fa447d4c3c23154a7223dbbc0a805c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: mod_auth_token/mod_auth_token.c
===================================================================
--- mod_auth_token.orig/mod_auth_token.c
+++ mod_auth_token/mod_auth_token.c
@@ -64,7 +64,7 @@ static const char *auth_token_set_prefix
 	auth_token_config_rec *conf = (auth_token_config_rec*)config;
 
 	if (arg[len - 1] != '/') {
-		ap_set_string_slot(cmd, config, apr_pstrcat(cmd->pool, arg, '/'));
+		ap_set_string_slot(cmd, config, apr_pstrcat(cmd->pool, arg, "/", NULL));
 		conf->prefix_len = len + 1;
 	}
 	else {