* upsi. serv_printf needs a formatstring as first argument...
case VIEW_ADDRESSBOOK:
ab_name = NULL;
fetch_ab_name(Msg, &ab_name);
+ if (ab_name == NULL)
+ break;
++num_ab;
addrbook = realloc(addrbook,
(sizeof(addrbookent) * num_ab) );
memset(&summ, 0, sizeof(summ));
//////safestrncpy(summ.subj, "(no subject)", sizeof summ.subj);
- serv_printf(buf, "MSG0 %ld|0", Msg->msgnum); /** unfortunately we need the mime info now */
+ serv_printf("MSG0 %ld|0", Msg->msgnum); /** unfortunately we need the mime info now */
serv_getln(buf, sizeof buf);
if (buf[0] != '1') return;