apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r355796 - /apr/apr-iconv/trunk/lib/iconv.c
Date Sat, 10 Dec 2005 23:09:32 GMT
Author: wrowe
Date: Sat Dec 10 15:09:30 2005
New Revision: 355796

URL: http://svn.apache.org/viewcvs?rev=355796&view=rev
Log:

  Fix comparison (noticed this fugly typo reviewing PR 24424, irrespective
  of trying to interconnect apr_iconv with native iconv.)

Modified:
    apr/apr-iconv/trunk/lib/iconv.c

Modified: apr/apr-iconv/trunk/lib/iconv.c
URL: http://svn.apache.org/viewcvs/apr/apr-iconv/trunk/lib/iconv.c?rev=355796&r1=355795&r2=355796&view=diff
==============================================================================
--- apr/apr-iconv/trunk/lib/iconv.c (original)
+++ apr/apr-iconv/trunk/lib/iconv.c Sat Dec 10 15:09:30 2005
@@ -123,7 +123,7 @@
             const char *from_charset, apr_pool_t *ctx, apr_iconv_t **res)
 {
 	*res = iconv_open(to_charset, from_charset);
-	if (*res == (apr_size_t) -1)
+	if (*res == (apr_iconv_t *) -1)
 		return apr_get_os_error();
 	return APR_SUCCESS;
 }



Mime
View raw message