1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 21:49:07 +00:00

Minor for for mail args parsing.

This commit is contained in:
Brenden Matthews 2009-04-28 10:19:28 -06:00
parent 49aee8707a
commit d1b6548c55
2 changed files with 4 additions and 3 deletions

View File

@ -2951,9 +2951,9 @@ static inline struct mail_s *ensure_mail_thread(struct text_object *obj,
return obj->data.mail;
} else if (!obj->a) {
// something is wrong, warn once then stop
ERR("Theres a problem with your %s_unseen settings. "
"Check that the global %s settings are defined "
"properly (line %li).", global_text, global_text, obj->line);
ERR("There's a problem with your mail settings. "
"Check that the global mail settings are properly defined"
"(line %li).", obj->line);
obj->a++;
}
return NULL;

View File

@ -281,6 +281,7 @@ struct mail_s *parse_mail_args(char type, const char *arg)
} else if (type == IMAP_TYPE) {
ERR("Scanning POP3 args failed");
}
return 0;
}
// see if password needs prompting
if (mail->pass[0] == '*' && mail->pass[1] == '\0') {