# HG changeset patch # User reimar # Date 1156666207 0 # Node ID 5680696f964b450cd31840502167578bd6e29069 # Parent 42f586994f9718f4060a71ccd53e6227009e242c Mixed up from and to charsets in iconv open failure message. Patch by Zuxy Meng zuxy.meng at gmail com. diff -r 42f586994f97 -r 5680696f964b mp_msg.c --- a/mp_msg.c Sat Aug 26 22:13:07 2006 +0000 +++ b/mp_msg.c Sun Aug 27 08:10:07 2006 +0000 @@ -93,7 +93,7 @@ } if (msgiconv == (iconv_t)(-1)) { fprintf(stderr,"iconv: conversion from %s to %s unsupported\n" - ,mp_msg_charset,MSG_CHARSET); + ,MSG_CHARSET,mp_msg_charset); }else{ memset(tmp2, 0, MSGSIZE_MAX); while (iconv(msgiconv, &in, &inlen, &out, &outlen) == -1) {