projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f2c4d2f
)
fix uninitialised warning.
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 2 Apr 2015 17:40:47 +0000
(19:40 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 2 Apr 2015 17:40:47 +0000
(19:40 +0200)
citadel/ldap.c
patch
|
blob
|
history
diff --git
a/citadel/ldap.c
b/citadel/ldap.c
index f7f415a8affe0a3ddbcb7085a1082b2db45f00c9..9d6ddf16389c57ebb76d44ab99e5c87caca1fd28 100644
(file)
--- a/
citadel/ldap.c
+++ b/
citadel/ldap.c
@@
-245,7
+245,7
@@
int CtdlTryPasswordLDAP(char *user_dn, const char *password)
//return !0 iff property changed.
int vcard_set_props_iff_different(struct vCard *v,char *propname,int numvals, char **vals) {
int i;
//return !0 iff property changed.
int vcard_set_props_iff_different(struct vCard *v,char *propname,int numvals, char **vals) {
int i;
- char *oldval;
+ char *oldval
= ""
;
for(i=0;i<numvals;i++) {
oldval = vcard_get_prop(v,propname,0,i,0);
if (oldval == NULL) break;
for(i=0;i<numvals;i++) {
oldval = vcard_get_prop(v,propname,0,i,0);
if (oldval == NULL) break;