Skip to content

Commit 7d2c37c

Browse files
committed
fixe issue #6 FreeBSD compilation warnings
1 parent 701296d commit 7d2c37c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mod_auth_memcookie.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ static int get_Auth_memCookie_grp(request_rec *r, char *szGroup, char *szGroups)
263263

264264
/* Add delimiters at start and end of groups string */
265265
/* and search group with delimiters */
266-
szMyGroups=apr_pstrcat(r->pool,":",szGroups,":",0);
267-
szMyGroup=apr_pstrcat(r->pool,":",szGroup,":",0);
266+
szMyGroups=apr_pstrcat(r->pool,":",szGroups,":",NULL);
267+
szMyGroup=apr_pstrcat(r->pool,":",szGroup,":",NULL);
268268

269269
if (!strstr(szMyGroups,szMyGroup))
270270
return DECLINED;

0 commit comments

Comments
 (0)