Votes to backport to 2.2 and 2.0?
New resulting message is
bin/httpd -f /dev/null -C "LoadModule ftp_module ../apache22/modules/mod_ftp.so"
Syntax error in -C/-c directive:
API module structure 'ftp_module' in file /usr/local/apache22/modules/mod_ftp.so
is garbled - expected signature
41503230 but saw
41503232 - perhaps this is not
an Apache module DSO, or was compiled for a different Apache version?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520733
13f79535-47bb-0310-9956-
ffa450edef68
*
*/
if (modp->magic != MODULE_MAGIC_COOKIE) {
- return apr_pstrcat(cmd->pool, "API module structure `", modname,
- "' in file ", szModuleFile, " is garbled -"
- " perhaps this is not an Apache module DSO?", NULL);
+ return apr_psprintf(cmd->pool, "API module structure '%s' in file %s "
+ "is garbled - expected signature %08lx but saw "
+ "%08lx - perhaps this is not an Apache module DSO, "
+ "or was compiled for a different Apache version?",
+ modname, szModuleFile,
+ MODULE_MAGIC_COOKIE, modp->magic);
}
/*