summaryrefslogtreecommitdiffstats
path: root/util/db.c
diff options
context:
space:
mode:
authorEric Leblond <eric@inl.fr>2008-07-23 14:56:31 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-07-23 14:56:31 +0200
commit0b789ea9bf810497845456e9b83bff8c5ae5ca23 (patch)
tree4bf2f2089ab50cc4f4fc3d2d436582cdec9046ef /util/db.c
parentc37361ae4a99dcc7b9a6cd13248e028ee9c1a6dc (diff)
Fix a trivial typo
This patch fixes a trivial typo. Signed-off-by: Eric Leblond <eric@inl.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'util/db.c')
-rw-r--r--util/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/db.c b/util/db.c
index 5cf5fe1..946458a 100644
--- a/util/db.c
+++ b/util/db.c
@@ -81,7 +81,7 @@ static int sql_createstmt(struct ulogd_pluginstance *upi)
* enough space for the values */
size += strlen(upi->input.keys[i].name) + 1 + SQL_VALSIZE;
}
- size += srtlen(procedure);
+ size += strlen(procedure);
ulogd_log(ULOGD_DEBUG, "allocating %u bytes for statement\n", size);