projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b8eae5
)
* remove Dave's SYS_ users from the addressbookpopup, since you don't want to send...
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 3 Aug 2008 18:38:23 +0000
(18:38 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 3 Aug 2008 18:38:23 +0000
(18:38 +0000)
webcit/addressbook_popup.c
patch
|
blob
|
history
diff --git
a/webcit/addressbook_popup.c
b/webcit/addressbook_popup.c
index 230e09dc3d7369e48cbb7fa69d2b71723346bb60..6cfb5b5c3a8b02c918d619ac102628334d257857 100644
(file)
--- a/
webcit/addressbook_popup.c
+++ b/
webcit/addressbook_popup.c
@@
-118,6
+118,10
@@
void display_address_book_inner_div() {
if (buf[0] == '1') while(len = serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
Name = (char*) malloc(len + 1);
len = extract_token(Name, buf, 0, '|', len + 1);
+ if((len > 5) && (strncmp(Name, "SYS_", 4) == 0)) {
+ free(Name);
+ continue;
+ }
Put(List, Name, len, Name, NULL);
}