src/protocols/msn/table.c

changeset 10043
4d4cc1ee9b69
parent 9198
e8eb6d5eb9eb
child 10345
7d7f8cfa2b4f
--- 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);

mercurial