summaryrefslogtreecommitdiffstats
path: root/filter/ulogd_filter_PWSNIFF.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/ulogd_filter_PWSNIFF.c')
-rw-r--r--filter/ulogd_filter_PWSNIFF.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/ulogd_filter_PWSNIFF.c b/filter/ulogd_filter_PWSNIFF.c
index 4812dbc..30a7a0f 100644
--- a/filter/ulogd_filter_PWSNIFF.c
+++ b/filter/ulogd_filter_PWSNIFF.c
@@ -127,7 +127,7 @@ static int interp_pwsniff(struct ulogd_pluginstance *pi, unsigned *flags)
return 0;
}
strncpy((char *)key_ptr(&ret[1]), (char *)pw_begp, pw_len);
- *(ret[1].u.val.str + pw_len + 1) = '\0';
+ *(ret[1].val.str + pw_len + 1) = '\0';
}
return 0;