[dovecot-cvs] dovecot/src/lib strfuncs.c,1.49,1.50
cras at dovecot.org
cras at dovecot.org
Sun Sep 25 13:52:29 EEST 2005
- Previous message: [dovecot-cvs] dovecot/src/lib ostream-file.c, 1.51,
1.52 ostream-internal.h, 1.5, 1.6 ostream.c, 1.12,
1.13 ostream.h, 1.11, 1.12
- Next message: [dovecot-cvs]
dovecot/src/auth auth-cache.c, 1.11, 1.12 main.c, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv8541
Modified Files:
strfuncs.c
Log Message:
*_strsplit_spaces(): Ignore trailing spaces.
Index: strfuncs.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/strfuncs.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- strfuncs.c 25 Sep 2005 10:24:09 -0000 1.49
+++ strfuncs.c 25 Sep 2005 10:52:27 -0000 1.50
@@ -532,6 +532,10 @@
else {
*str = '\0';
while (str[1] == ' ') str++;
+
+ /* ignore trailing spaces */
+ if (str[1] == '\0')
+ break;
}
array[count++] = str+1;
- Previous message: [dovecot-cvs] dovecot/src/lib ostream-file.c, 1.51,
1.52 ostream-internal.h, 1.5, 1.6 ostream.c, 1.12,
1.13 ostream.h, 1.11, 1.12
- Next message: [dovecot-cvs]
dovecot/src/auth auth-cache.c, 1.11, 1.12 main.c, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list