Mercurial > pidgin
comparison src/protocols/gg/gg.c @ 2563:29d09f9ce85f
[gaim-migrate @ 2576]
Fixed an unused variable warning.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 21 Oct 2001 00:14:41 +0000 |
parents | 221e1c8e2410 |
children | 37d80035e77f |
comparison
equal
deleted
inserted
replaced
2562:6a9438d32268 | 2563:29d09f9ce85f |
---|---|
1 /* | 1 /* |
2 * gaim - Gadu-Gadu Protocol Plugin | 2 * gaim - Gadu-Gadu Protocol Plugin |
3 * $Id: gg.c 2555 2001-10-18 21:44:09Z warmenhoven $ | 3 * $Id: gg.c 2576 2001-10-21 00:14:41Z robflynn $ |
4 * | 4 * |
5 * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> | 5 * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
90 return "Gadu-Gadu"; | 90 return "Gadu-Gadu"; |
91 } | 91 } |
92 | 92 |
93 static gchar *charset_convert(const gchar *locstr, char *encsrc, char *encdst) | 93 static gchar *charset_convert(const gchar *locstr, char *encsrc, char *encdst) |
94 { | 94 { |
95 #ifdef HAVE_ICONV | |
95 gchar *result = NULL; | 96 gchar *result = NULL; |
96 #ifdef HAVE_ICONV | |
97 if (iconv_string(encdst, encsrc, locstr, locstr+strlen(locstr)+1, &result, NULL) >= 0) | 97 if (iconv_string(encdst, encsrc, locstr, locstr+strlen(locstr)+1, &result, NULL) >= 0) |
98 return result; | 98 return result; |
99 #endif | 99 #endif |
100 return g_strdup(locstr); | 100 return g_strdup(locstr); |
101 } | 101 } |