diff options
Diffstat (limited to 'output/mysql/ulogd_output_MYSQL.c')
-rw-r--r-- | output/mysql/ulogd_output_MYSQL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/output/mysql/ulogd_output_MYSQL.c b/output/mysql/ulogd_output_MYSQL.c index 4e75590..b3e63e0 100644 --- a/output/mysql/ulogd_output_MYSQL.c +++ b/output/mysql/ulogd_output_MYSQL.c @@ -272,9 +272,9 @@ static int mysql_createstmt(struct ulogd_pluginstance *upi) free(mi->stmt); /* caclulate the size for the insert statement */ - size = strlen(MYSQL_INSERTTEMPL) + strlen(table_ce(upi->config_kset).u.string); + size = strlen(MYSQL_INSERTTEMPL) + + strlen(table_ce(upi->config_kset).u.string); - /* FIXME: we don't know the number *Sigh* */ for (i = 0; i < upi->input.num_keys; i++) { /* we need space for the key and a comma, as well as * enough space for the values */ |