summaryrefslogtreecommitdiffstats
path: root/src/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 7ea2308..e1b2483 100644
--- a/src/db.c
+++ b/src/db.c
@@ -700,7 +700,7 @@ ulogd_db_interp(struct ulogd_pluginstance *pi, unsigned *flags)
if (!key)
memset(&row->value[i], 0, sizeof(struct ulogd_value));
else
- memcpy(&row->value[i], &key->u.val, sizeof(struct ulogd_value));
+ memcpy(&row->value[i], &key->val, sizeof(struct ulogd_value));
}
/* reset key pointers */