stas 2004/08/06 20:09:05
Modified: src/modules/perl modperl_cmd.c Log: make the macro more readable Revision Changes Path 1.63 +6 -6 modperl-2.0/src/modules/perl/modperl_cmd.c Index: modperl_cmd.c =================================================================== RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_cmd.c,v retrieving revision 1.62 retrieving revision 1.63 diff -u -u -r1.62 -r1.63 --- modperl_cmd.c 7 Aug 2004 02:52:08 -0000 1.62 +++ modperl_cmd.c 7 Aug 2004 03:09:05 -0000 1.63 @@ -54,13 +54,13 @@ /* This ensures that a given directive is either in Server context * or in a .htaccess file, usefull for things like PerlRequire */ -#define MP_CHECK_SERVER_OR_HTACCESS_CONTEXT \ - if (parms->path && (parms->override & ACCESS_CONF)) { \ - ap_directive_t *d = parms->directive; \ - return apr_psprintf(parms->pool, \ +#define MP_CHECK_SERVER_OR_HTACCESS_CONTEXT \ + if (parms->path && (parms->override & ACCESS_CONF)) { \ + ap_directive_t *d = parms->directive; \ + return apr_psprintf(parms->pool, \ "%s directive not allowed in a %s> block", \ - d->directive, \ - d->parent->directive); \ + d->directive, \ + d->parent->directive); \ } static char *modperl_cmd_unclosed_directive(cmd_parms *parms)