diff options
author | laforge <laforge> | 2004-01-08 00:35:12 +0000 |
---|---|---|
committer | laforge <laforge> | 2004-01-08 00:35:12 +0000 |
commit | f79a964060e85fc336f68c9881a9a0683572edeb (patch) | |
tree | ada63ecaacdecc6bdd84e5b22c9b336f249ac81e /pgsql | |
parent | 668af39752e5972e1c9a54b0506aa289c41d3f4e (diff) |
add 'tmpstr' variable declaration again... it is needed for the --log-ip-as-string option (which I never liked anyway ;))
Diffstat (limited to 'pgsql')
-rw-r--r-- | pgsql/ulogd_PGSQL.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pgsql/ulogd_PGSQL.c b/pgsql/ulogd_PGSQL.c index 6d2523b..eb87c59 100644 --- a/pgsql/ulogd_PGSQL.c +++ b/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; |