mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
Whoops. Fix error message ...
git-svn-id: https://svn.xiph.org/trunk/ezstream@13624 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
15064493bc
commit
35c07b9516
@ -320,7 +320,7 @@ iconvert(const char *in_str, const char *from, const char *to, int mode)
|
|||||||
if ((cd = iconv_open(tocode, from)) == (iconv_t)-1 &&
|
if ((cd = iconv_open(tocode, from)) == (iconv_t)-1 &&
|
||||||
(cd = iconv_open("", from)) == (iconv_t)-1) {
|
(cd = iconv_open("", from)) == (iconv_t)-1) {
|
||||||
xfree(tocode);
|
xfree(tocode);
|
||||||
printf("%s: iconv_open(): %s\n", strerror(errno), __progname);
|
printf("%s: iconv_open(): %s\n", __progname, strerror(errno));
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -359,7 +359,7 @@ iconvert(const char *in_str, const char *from, const char *to, int mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (iconv_close(cd) == -1) {
|
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(output);
|
||||||
xfree(tocode);
|
xfree(tocode);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user