summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2013-03-19 23:57:16 +0100
committerEric Leblond <eric@regit.org>2013-05-21 19:47:53 +0200
commit5d3a5e5c2e16555a19e794341ed72cf2415b07fc (patch)
treeb9060bc76fd501e6f7882ee96255631eee9eac21 /include
parent6e4d8af18923ec4873d96228ccf24eda3da4577e (diff)
db: suppress field in db structure
The field is currently only used in a single function as a string pointer and can thus be removed from the db instance structure.
Diffstat (limited to 'include')
-rw-r--r--include/ulogd/db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ulogd/db.h b/include/ulogd/db.h
index a533902..a02afb5 100644
--- a/include/ulogd/db.h
+++ b/include/ulogd/db.h
@@ -1,6 +1,7 @@
/* DB handling functions
*
* (C) 2000-2005 by Harald Welte <laforge@gnumonks.org>
+ * (C) 2013 by Eric Leblond <eric@regit.org>
*
* This code is distributed under the terms of GNU GPL version 2 */
@@ -29,7 +30,6 @@ struct db_stmt {
struct db_instance {
char *stmt; /* buffer for our insert statement */
char *stmt_val; /* pointer to the beginning of the "VALUES" part */
- char *stmt_ins; /* pointer to current inser position in statement */
char *schema;
time_t reconnect;
int (*interp)(struct ulogd_pluginstance *upi);