diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-17 03:16:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-17 03:16:53 +0800 |
commit | aef303fd88ebb4b848fb04a80d9670c43831754c (patch) | |
tree | 9a31b31d6eac148b6b9ce710d37deafd41ac5176 /camel/camel-charset-map.c | |
parent | f9b7406f1dbc712cb1b4f40f0e729a25cf24f27c (diff) | |
download | gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.gz gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.bz2 gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.lz gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.xz gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.tar.zst gsoc2013-evolution-aef303fd88ebb4b848fb04a80d9670c43831754c.zip |
Added a prototype for stamp().
2001-04-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-operation.c: Added a prototype for stamp().
* camel-charset-map.c (camel_charset_locale_name): #include
string.h so we don't get a warning about strchr being undefined
and also init charset to NULL.
* camel-pgp-context.c (pgp_verify): Go back to doing the utf8
conversion by hand so that we don't depend on gal.
svn path=/trunk/; revision=9388
Diffstat (limited to 'camel/camel-charset-map.c')
-rw-r--r-- | camel/camel-charset-map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-charset-map.c b/camel/camel-charset-map.c index d5d7665dac..dac774bdf2 100644 --- a/camel/camel-charset-map.c +++ b/camel/camel-charset-map.c @@ -203,6 +203,7 @@ void main(void) #include "camel-charset-map-private.h" #include <unicode.h> #include <locale.h> +#include <string.h> #include <glib.h> void camel_charset_init(CamelCharset *c) @@ -286,7 +287,7 @@ camel_charset_best(const char *in, int len) char * camel_charset_locale_name (void) { - char *locale, *charset; + char *locale, *charset = NULL; locale = setlocale (LC_ALL, NULL); |