[dovecot-cvs] dovecot/src/lib-settings settings.c,1.13,1.14
cras at dovecot.org
cras at dovecot.org
Wed May 10 10:36:16 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-settings
In directory talvi:/tmp/cvs-serv18159/lib-settings
Modified Files:
settings.c
Log Message:
Read empty string settings as "", not NULL.
Index: settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-settings/settings.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- settings.c 26 Feb 2006 10:05:14 -0000 1.13
+++ settings.c 10 May 2006 07:36:13 -0000 1.14
@@ -42,8 +42,7 @@
switch (def->type) {
case SET_STR:
- *((char **) ptr) =
- p_strdup_empty(pool, value);
+ *((char **)ptr) = p_strdup(pool, value);
return NULL;
case SET_INT:
/* use %i so we can handle eg. 0600
More information about the dovecot-cvs
mailing list