OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/xml-decode-octetstream.c versions 1.2 and 1.3
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/xml-decode-octetstream.c 1.2 -> 1.3

--- xml-decode-octetstream.c     2001/08/08 09:23:39     1.2
+++ xml-decode-octetstream.c     2001/08/08 09:50:27     1.3
@@ -36,7 +36,7 @@
     char *pos;
 
     if (srclen == 0)
-        srclen = strlen(src);
+        return 0;
     state = 0;
     dstidx = 0;
     res = 0;

CVSTrac 2.0.1