Mercurial > pidgin
comparison src/plugins.c @ 397:0b5ecac8aa54
[gaim-migrate @ 407]
BAH
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 12 Jun 2000 13:56:58 +0000 |
parents | df5127560034 |
children | d6f02d7f78d8 |
comparison
equal
deleted
inserted
replaced
396:b1d5c6ab7b0d | 397:0b5ecac8aa54 |
---|---|
176 } | 176 } |
177 | 177 |
178 retval = (*gaim_plugin_init)(plug->handle); | 178 retval = (*gaim_plugin_init)(plug->handle); |
179 sprintf(debug_buff, "loaded plugin returned %d\n", retval); | 179 sprintf(debug_buff, "loaded plugin returned %d\n", retval); |
180 debug_print(debug_buff); | 180 debug_print(debug_buff); |
181 if (retval != 1) { | 181 if (retval < 0) { |
182 GList *c = callbacks; | 182 GList *c = callbacks; |
183 struct gaim_callback *g; | 183 struct gaim_callback *g; |
184 while (c) { | 184 while (c) { |
185 g = (struct gaim_callback *)c->data; | 185 g = (struct gaim_callback *)c->data; |
186 if (g->handle == plug->handle) { | 186 if (g->handle == plug->handle) { |