}
static int get_entry (const char **p, char *dst, int max)
-{
+{
int i = 0;
while ((*p)[i] != ':' && (*p)[i])
i++;
while (pe)
{
struct passwd_entry *pe_next = pe->next;
-
+
xfree (pe->name);
xfree (pe->des);
xfree (pe);
if (strcmp (pe->des, pass))
return -2;
}
- return 0;
+ return 0;
}
int passwd_db_file_crypt(Passwd_db db, const char *fname)