projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e646cd5
)
* just use ldap if it's enabled by config.
author
Wilfried Göesgens
<willi@citadel.org>
Fri, 5 Oct 2007 17:45:49 +0000
(17:45 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Fri, 5 Oct 2007 17:45:49 +0000
(17:45 +0000)
citadel/modules/vcard/serv_vcard.c
patch
|
blob
|
history
diff --git
a/citadel/modules/vcard/serv_vcard.c
b/citadel/modules/vcard/serv_vcard.c
index 016de159c9694e0818f3f5a38fcf24cac49224f5..0e8783ddf7cfe3d4903fadeb331c0cb0f953b9da 100644
(file)
--- a/
citadel/modules/vcard/serv_vcard.c
+++ b/
citadel/modules/vcard/serv_vcard.c
@@
-358,7
+358,8
@@
void vcard_add_to_directory(long msgnum, void *data) {
}
#ifdef HAVE_LDAP
- ctdl_vcard_to_ldap(msg, V2L_WRITE);
+ if (!IsEmptyStr(config.c_ldap_base_dn))
+ ctdl_vcard_to_ldap(msg, V2L_WRITE);
#endif
CtdlFreeMessage(msg);