apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r586179 - /apr/apr-util/branches/0.9.x/xlate/xlate.c
Date Thu, 18 Oct 2007 23:31:03 GMT
Author: wrowe
Date: Thu Oct 18 16:31:03 2007
New Revision: 586179

URL: http://svn.apache.org/viewvc?rev=586179&view=rev
Log:
Anticipate some output buff, no input buff.

Backports: 586177

Modified:
    apr/apr-util/branches/0.9.x/xlate/xlate.c

Modified: apr/apr-util/branches/0.9.x/xlate/xlate.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/0.9.x/xlate/xlate.c?rev=586179&r1=586178&r2=586179&view=diff
==============================================================================
--- apr/apr-util/branches/0.9.x/xlate/xlate.c (original)
+++ apr/apr-util/branches/0.9.x/xlate/xlate.c Thu Oct 18 16:31:03 2007
@@ -324,7 +324,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