summaryrefslogtreecommitdiffstats
path: root/mod_log_sql.c
diff options
context:
space:
mode:
Diffstat (limited to 'mod_log_sql.c')
-rw-r--r--mod_log_sql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c
index 6a80ece..294380b 100644
--- a/mod_log_sql.c
+++ b/mod_log_sql.c
@@ -288,7 +288,7 @@ static const char *set_server_file_slot(cmd_parms *cmd,
288 int offset = (int)(long)cmd->info; 288 int offset = (int)(long)cmd->info;
289 const char *path; 289 const char *path;
290 290
291 path = ap_server_root_relative(cmd->pool, arg); 291 path = ap_server_root_relative(cmd->pool, (char *)arg);
292 292
293 if (!path) { 293 if (!path) {
294 return apr_pstrcat(cmd->pool, "Invalid file path ", 294 return apr_pstrcat(cmd->pool, "Invalid file path ",
@@ -1246,7 +1246,7 @@ module AP_MODULE_DECLARE_DATA log_sql_module = {
1246 register_hooks /* register hooks */ 1246 register_hooks /* register hooks */
1247}; 1247};
1248#elif defined(WITH_APACHE13) 1248#elif defined(WITH_APACHE13)
1249module log_sql_module = { 1249module MODULE_VAR_EXPORT log_sql_module = {
1250 STANDARD_MODULE_STUFF, 1250 STANDARD_MODULE_STUFF,
1251 log_sql_module_init, /* module initializer */ 1251 log_sql_module_init, /* module initializer */
1252 NULL, /* create per-dir config */ 1252 NULL, /* create per-dir config */