--- a/src/protocols/yahoo/yahoo.c Mon Nov 25 23:44:20 2002 +0000 +++ b/src/protocols/yahoo/yahoo.c Tue Nov 26 14:13:11 2002 +0000 @@ -685,11 +685,11 @@ l = l->next; } - if (who && email && subj) { + if (who && subj && email && *email) { char *from = g_strdup_printf("%s (%s)", who, email); connection_has_mail(gc, -1, from, subj, "http://mail.yahoo.com/"); g_free(from); - } else + } else if (count > 0) connection_has_mail(gc, count, NULL, NULL, "http://mail.yahoo.com/"); } /* This is the y64 alphabet... it's like base64, but has a . and a _ */