comparison src/plugins.c @ 392:df5127560034

[gaim-migrate @ 402] More updates to plugins committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 12 Jun 2000 13:07:53 +0000
parents be408b41c172
children 0b5ecac8aa54
comparison
equal deleted inserted replaced
391:be408b41c172 392:df5127560034
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) { 181 if (retval != 1) {
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) {