projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* don't choke if the vcard fails to load
[citadel.git]
/
webcit
/
messages.c
diff --git
a/webcit/messages.c
b/webcit/messages.c
index 055009199cf6cfc05193dc627fe1e6424e1ea8ae..c6d1c6e75602ef741d3949d1318c5914b825dcdf 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-884,6
+884,8
@@
void readloop(long oper)
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) );