summaryrefslogtreecommitdiffstats
path: root/ulogd/pgsql/ulogd_PGSQL.c
diff options
context:
space:
mode:
Diffstat (limited to 'ulogd/pgsql/ulogd_PGSQL.c')
-rw-r--r--ulogd/pgsql/ulogd_PGSQL.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ulogd/pgsql/ulogd_PGSQL.c b/ulogd/pgsql/ulogd_PGSQL.c
index 6d2523b..eb87c59 100644
--- a/ulogd/pgsql/ulogd_PGSQL.c
+++ b/ulogd/pgsql/ulogd_PGSQL.c
@@ -1,4 +1,4 @@
-/* ulogd_PGSQL.c, Version $Revision: 1.7 $
+/* ulogd_PGSQL.c, Version $Revision: 1.8 $
*
* ulogd output plugin for logging to a PGSQL database
*
@@ -70,7 +70,8 @@ static int _pgsql_output(ulog_iret_t *result)
{
struct _field *f;
ulog_iret_t *res;
- PGresult *pgres;
+ PGresult *pgres;
+ char *tmpstr; /* need this for --log-ip-as-string */
stmt_ins = stmt_val;