2008-07-05 12:42:23 +00:00
|
|
|
--- a/mpdctrl.c
|
|
|
|
+++ b/mpdctrl.c
|
2008-05-08 01:01:45 +00:00
|
|
|
@@ -160,8 +160,8 @@
|
|
|
|
}
|
|
|
|
|
|
|
|
/* OpenWRT needs a type cast */
|
|
|
|
- /* iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen); */
|
|
|
|
- iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen);
|
|
|
|
+ iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen);
|
|
|
|
+ /* iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen); */
|
|
|
|
if (iconv_value == (size_t) -1) {
|
|
|
|
error ("ICONV ERROR3: failed to convert string, error: %d\n", errno);
|
|
|
|
return "ICONV ERROR3";
|