Mercurial > pidgin
comparison libpurple/protocols/msn/table.c @ 20425:5048651671e1
Revert a bunch of whitespace changes so reviewing a diff against
im.pidgin.pidgin doesn't make my eyes bleed quite as much
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 26 May 2007 13:59:07 +0000 |
parents | 60bc06498746 |
children |
comparison
equal
deleted
inserted
replaced
20424:b462ef222d28 | 20425:5048651671e1 |
---|---|
75 g_return_if_fail(table != NULL); | 75 g_return_if_fail(table != NULL); |
76 g_return_if_fail(answer != NULL); | 76 g_return_if_fail(answer != NULL); |
77 | 77 |
78 cbs = NULL; | 78 cbs = NULL; |
79 | 79 |
80 if (command == NULL){ | 80 if (command == NULL) |
81 { | |
81 cbs = table->async; | 82 cbs = table->async; |
82 }else if (strcmp(command, "fallback") == 0) { | 83 } |
84 else if (strcmp(command, "fallback") == 0) | |
85 { | |
83 cbs = table->fallback; | 86 cbs = table->fallback; |
84 }else{ | 87 } |
88 else | |
89 { | |
85 cbs = g_hash_table_lookup(table->cmds, command); | 90 cbs = g_hash_table_lookup(table->cmds, command); |
86 | 91 |
87 if (cbs == NULL){ | 92 if (cbs == NULL) |
93 { | |
88 cbs = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); | 94 cbs = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, NULL); |
89 g_hash_table_insert(table->cmds, command, cbs); | 95 g_hash_table_insert(table->cmds, command, cbs); |
90 } | 96 } |
91 } | 97 } |
92 | 98 |