Fix memset calls

This commit is contained in:
Miroslav Lichvar
2013-06-21 14:39:12 +02:00
parent fa409ddc8f
commit cb464cac4d
2 changed files with 2 additions and 2 deletions

View File

@@ -2808,7 +2808,7 @@ authenticate_from_config(const char *filename)
}
/* Erase password from stack */
memset(line, sizeof (line), 0);
memset(line, 0, sizeof (line));
return ret;
}