brane 2003/01/12 14:47:23
Modified: xlate xlate.c
Log:
Fixed a typo in the status-checking code when usin apr-iconv to translate
a buffer: The code was checking the inbytes_left pointer, instead of the
value it pointed to.
Revision Changes Path
1.17 +1 -1 apr-util/xlate/xlate.c
Index: xlate.c
===================================================================
RCS file: /home/cvs/apr-util/xlate/xlate.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- xlate.c 10 Jan 2003 15:48:07 -0000 1.16
+++ xlate.c 12 Jan 2003 22:47:23 -0000 1.17
@@ -350,7 +350,7 @@
/* Sometimes, iconv is not good about setting errno. */
case 0:
- if (inbytes_left)
+ if (*inbytes_left)
status = APR_INCOMPLETE;
break;