[dovecot-cvs] dovecot/src/lib-settings settings.c,1.13,1.13.2.1
cras at dovecot.org
cras at dovecot.org
Wed May 10 10:36:15 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-settings
In directory talvi:/tmp/cvs-serv8019/lib-settings
Modified Files:
Tag: branch_1_0
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.13.2.1
diff -u -d -r1.13 -r1.13.2.1
--- settings.c 26 Feb 2006 10:05:14 -0000 1.13
+++ settings.c 10 May 2006 07:36:13 -0000 1.13.2.1
@@ -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