Mercurial > pidgin
diff src/protocols/msn/table.c @ 10043:700f8fb9e581
[gaim-migrate @ 11002]
commit the 2 xfr patches to msn from shx to head. these went in just before
1.0.0 was released fixing some bugs
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 19 Sep 2004 02:53:00 +0000 |
parents | ab6636c5a136 |
children | 2e01c503aa4f |
line wrap: on
line diff
--- a/src/protocols/msn/table.c Sat Sep 18 23:47:36 2004 +0000 +++ b/src/protocols/msn/table.c Sun Sep 19 02:53:00 2004 +0000 @@ -46,6 +46,7 @@ table->errors = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); table->async = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); + table->fallback = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); return table; } @@ -60,6 +61,7 @@ g_hash_table_destroy(table->errors); g_hash_table_destroy(table->async); + g_hash_table_destroy(table->fallback); g_free(table); } @@ -79,6 +81,10 @@ { cbs = table->async; } + else if (strcmp(command, "fallback") == 0) + { + cbs = table->fallback; + } else { cbs = g_hash_table_lookup(table->cmds, command);