+2001-07-20 [darko]
+
+ * src/summaryview.c
+ fix show sender using address book with no e-mail
+ address in From: field
+
2001-07-19 [alfons]
* src/matcher.[ch], src/filtering.c, src/prefs_filtering.c
Xalloca(from, strlen(msginfo->from) + 1, return);
strcpy(from, msginfo->from);
extract_address(from);
- count = complete_address(from);
- if (count > 1) {
- g_free(from_name);
- from = get_complete_address(1);
- from_name = procheader_get_fromname(from);
- g_free(from);
- text[S_COL_FROM] = from_name;
+ if (*from) {
+ count = complete_address(from);
+ if (count > 1) {
+ g_free(from_name);
+ from = get_complete_address(1);
+ from_name = procheader_get_fromname(from);
+ g_free(from);
+ text[S_COL_FROM] = from_name;
+ }
}
}