svn commit: lorikeet r754 - in trunk/heimdal/lib/sl: .
lha at samba.org
lha at samba.org
Mon Jun 18 23:11:01 GMT 2007
Author: lha
Date: 2007-06-18 23:10:59 +0000 (Mon, 18 Jun 2007)
New Revision: 754
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=754
Log:
Merged with Heimdal svn revision 21160
Modified:
trunk/heimdal/lib/sl/sl.c
Changeset:
Modified: trunk/heimdal/lib/sl/sl.c
===================================================================
--- trunk/heimdal/lib/sl/sl.c 2007-06-18 22:12:24 UTC (rev 753)
+++ trunk/heimdal/lib/sl/sl.c 2007-06-18 23:10:59 UTC (rev 754)
@@ -33,7 +33,7 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
-RCSID("$Id: sl.c 21147 2007-06-18 21:38:18Z lha $");
+RCSID("$Id: sl.c 21160 2007-06-18 22:58:21Z lha $");
#endif
#include "sl_locl.h"
@@ -242,12 +242,12 @@
;
} else if (*p == '"') {
quote = !quote;
- memmove(&p[0], &p[1], strlen(&p[1]));
+ memmove(&p[0], &p[1], strlen(&p[1]) + 1);
continue;
} else if (*p == '\\') {
if (p[1] == '\0')
goto failed;
- memmove(&p[0], &p[1], strlen(&p[1]));
+ memmove(&p[0], &p[1], strlen(&p[1]) + 1);
p += 2;
continue;
} else if (quote || !isspace((unsigned char)*p)) {
More information about the samba-cvs
mailing list