apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r586177 - /apr/apr-util/trunk/xlate/xlate.c
Date Thu, 18 Oct 2007 23:29:16 GMT
Author: wrowe
Date: Thu Oct 18 16:29:15 2007
New Revision: 586177

URL: http://svn.apache.org/viewvc?rev=586177&view=rev
Log:
Fix test crash, anticipate some output buff and no input buff

Modified:
    apr/apr-util/trunk/xlate/xlate.c

Modified: apr/apr-util/trunk/xlate/xlate.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/xlate/xlate.c?rev=586177&r1=586176&r2=586177&view=diff
==============================================================================
--- apr/apr-util/trunk/xlate/xlate.c (original)
+++ apr/apr-util/trunk/xlate/xlate.c Thu Oct 18 16:29:15 2007
@@ -325,7 +325,7 @@
 
              /* Sometimes, iconv is not good about setting errno. */
             case 0:
-                if (*inbytes_left)
+                if (inbytes_left && *inbytes_left)
                     status = APR_INCOMPLETE;
                 break;
 



Mime
View raw message