[xiph-commits] r13624 - trunk/ezstream/src
moritz at svn.xiph.org
moritz at svn.xiph.org
Sat Aug 25 07:16:08 PDT 2007
Author: moritz
Date: 2007-08-25 07:16:07 -0700 (Sat, 25 Aug 2007)
New Revision: 13624
Modified:
trunk/ezstream/src/util.c
Log:
Whoops. Fix error message ...
Modified: trunk/ezstream/src/util.c
===================================================================
--- trunk/ezstream/src/util.c 2007-08-25 12:36:56 UTC (rev 13623)
+++ trunk/ezstream/src/util.c 2007-08-25 14:16:07 UTC (rev 13624)
@@ -320,7 +320,7 @@
if ((cd = iconv_open(tocode, from)) == (iconv_t)-1 &&
(cd = iconv_open("", from)) == (iconv_t)-1) {
xfree(tocode);
- printf("%s: iconv_open(): %s\n", strerror(errno), __progname);
+ printf("%s: iconv_open(): %s\n", __progname, strerror(errno));
return (NULL);
}
@@ -359,7 +359,7 @@
}
if (iconv_close(cd) == -1) {
- printf("%s: iconv_close(): %s\n", strerror(errno), __progname);
+ printf("%s: iconv_close(): %s\n", __progname, strerror(errno));
xfree(output);
xfree(tocode);
return (NULL);
More information about the commits
mailing list