# HG changeset patch # User Luke Schierer # Date 1177720613 0 # Node ID 0cd684e34403516cbdf1f129136536df57175643 # Parent 1b58a7fabb7ed84077d4aa06f264f8dc8c877900 sadrul fixed the next but not last crash diff -r 1b58a7fabb7e -r 0cd684e34403 libpurple/util.c --- a/libpurple/util.c Sat Apr 28 00:15:10 2007 +0000 +++ b/libpurple/util.c Sat Apr 28 00:36:53 2007 +0000 @@ -2696,6 +2696,7 @@ purple_normalize(const PurpleAccount *account, const char *str) { const char *ret = NULL; + static char buf[BUF_LEN]; if (account != NULL) { @@ -2712,7 +2713,6 @@ if (ret == NULL) { - static char buf[BUF_LEN]; char *tmp; tmp = g_utf8_normalize(str, -1, G_NORMALIZE_DEFAULT);