summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorEdward Rudd <urkle@outoforder.cc>2008-02-02 20:57:01 (GMT)
committer Edward Rudd <urkle@outoforder.cc>2008-02-02 20:57:01 (GMT)
commitde602957405329661b4daa10ee4f76de3b766e56 (patch)
treed00415fab8a8fa7fdc2162d7023e7219301e67ca
parent1415cc4f58be08f90e646096cbf7e229a92faea5 (diff)
correct int siezes in printf statements
-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 a6086d7..b6a5c83 100644
--- a/mod_log_sql.c
+++ b/mod_log_sql.c
@@ -213,7 +213,7 @@ LOGSQL_DECLARE(void) log_sql_register_finish(server_rec *s)
213 item->func = func; 213 item->func = func;
214 if (global_config.showconfig_fp) { 214 if (global_config.showconfig_fp) {
215 apr_file_printf(global_config.showconfig_fp," Item : %s using function %s(%s)\n" 215 apr_file_printf(global_config.showconfig_fp," Item : %s using function %s(%s)\n"
216 "\tStoring in field %s of type %s(%d)\n", 216 "\tStoring in field %s of type %s(%"APR_SIZE_T_FMT")\n",
217 item->alias, item->funcalias, item->param, 217 item->alias, item->funcalias, item->param,
218 item->sql_field_name, item->string_contents ? "TEXT":"NUMERIC", item->size); 218 item->sql_field_name, item->string_contents ? "TEXT":"NUMERIC", item->size);
219 } 219 }
@@ -566,7 +566,7 @@ static const char *set_register_field(cmd_parms *cmd,
566 size = atoi(size_s); 566 size = atoi(size_s);
567 567
568 log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd->server, 568 log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd->server,
569 "%s, %s, %s, %s, %s(%d), %s(%d)", 569 "%s, %s, %s, %s, %s(%d), %s(%"APR_SIZE_T_FMT")",
570 alias, funcalias, param, field, datatype_s, datatype, size_s, size); 570 alias, funcalias, param, field, datatype_s, datatype, size_s, size);
571 571
572 log_sql_register_field(cmd->pool, alias, funcalias, param, 572 log_sql_register_field(cmd->pool, alias, funcalias, param,