[sword-cvs] sword/src/utilfuns utilxml.cpp,1.12,1.13
sword@www.crosswire.org
sword@www.crosswire.org
Mon, 22 Dec 2003 14:33:35 -0700
Update of /usr/local/cvsroot/sword/src/utilfuns
In directory www:/tmp/cvs-serv5579/src/utilfuns
Modified Files:
utilxml.cpp
Log Message:
no message
Index: utilxml.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/src/utilfuns/utilxml.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- utilxml.cpp 17 Jul 2003 01:08:04 -0000 1.12
+++ utilxml.cpp 22 Dec 2003 21:33:32 -0000 1.13
@@ -10,6 +10,8 @@
int start;
char *name = 0;
char *value = 0;
+ if (!buf)
+ return;
for (i = 0; ((buf[i]) && (!isalpha(buf[i]))); i++);
for (; buf[i]; i++) {
if (buf[i] == ' ') {