p ++;
}
- /* if field was quoted, squash the trailing quotation mark */
+ /* If field was quoted, squash the trailing quotation mark
+ and reset quote flag. */
if (quote)
- shift_left(p);
+ {
+ shift_left (p);
+ quote = 0;
+ }
/* Null-terminate the token, if it isn't already. */
if (*p)
while (l)
{
t = l->next;
- FREE_MAYBE (l->acc);
- FREE_MAYBE (l->passwd);
- FREE_MAYBE (l->host);
+ xfree_null (l->acc);
+ xfree_null (l->passwd);
+ xfree_null (l->host);
xfree (l);
l = t;
}