From 88c522418f718bfaa9154b306248b030bfaacfc2 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 16 Aug 2009 00:26:22 +0000 Subject: * fix prototype change of decode API * note: should we ignore USE_ICONV and always apply conversion? git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/bbsmail.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/util/bbsmail.c b/util/bbsmail.c index 1b4de0ee..c508754f 100644 --- a/util/bbsmail.c +++ b/util/bbsmail.c @@ -37,10 +37,6 @@ mailog(msg) } } -#ifdef USE_ICONV -void str_decode_M3(unsigned char *str); -#endif - static const char * bbsmail_pretty_subject(const char *subject) { @@ -116,7 +112,7 @@ int mail2bbs(char *userid) if( strncmp(genbuf, "Subject: ", 9) == 0 ){ strlcpy(title, genbuf + 9, sizeof(title)); #ifdef USE_ICONV - str_decode_M3((unsigned char*)title); + str_decode_M3(title); #endif continue; } -- cgit v1.2.3