mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
Minor for for mail args parsing.
This commit is contained in:
parent
49aee8707a
commit
d1b6548c55
@ -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;
|
||||
|
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user