[Expat-checkins] CVS: expat/tests chardata.c,1.2,1.3
Fred L. Drake
fdrake@users.sourceforge.net
Mon Apr 29 11:07:27 2002
Update of /cvsroot/expat/expat/tests
In directory usw-pr-cvs1:/tmp/cvs-serv21163/tests
Modified Files:
chardata.c
Log Message:
Fix stupid last minute change.
Index: chardata.c
===================================================================
RCS file: /cvsroot/expat/expat/tests/chardata.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** chardata.c 29 Apr 2002 17:09:31 -0000 1.2
--- chardata.c 29 Apr 2002 17:10:26 -0000 1.3
***************
*** 15,20 ****
xmlstrlen(const XML_Char *s)
{
- assert(s != NULL);
int len = 0;
while (s[len] != 0)
++len;
--- 15,20 ----
xmlstrlen(const XML_Char *s)
{
int len = 0;
+ assert(s != NULL);
while (s[len] != 0)
++len;