summaryrefslogtreecommitdiff
path: root/src/modules/lokker/lokker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/lokker/lokker.c')
-rw-r--r--src/modules/lokker/lokker.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/lokker/lokker.c b/src/modules/lokker/lokker.c
index fdc75178d0..a9ecfbf4a2 100644
--- a/src/modules/lokker/lokker.c
+++ b/src/modules/lokker/lokker.c
@@ -96,10 +96,8 @@ _text_passwd_update(void)
static void
_lokker_null(void)
{
- memset(edd->passwd, 0, sizeof(char) * PASSWD_LEN);
- /* break compiler optimization */
- if (edd->passwd[0] || edd->passwd[3])
- fprintf(stderr, "ACK!\n");
+ e_util_memclear(edd->passwd, PASSWD_LEN);
+
_text_passwd_update();
}