comparison plugins/error.c @ 393:bbff7d508593

[gaim-migrate @ 403] whoops committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 12 Jun 2000 13:11:13 +0000
parents df5127560034
children b1d5c6ab7b0d
comparison
equal deleted inserted replaced
392:df5127560034 393:bbff7d508593
23 char *gaim_plugin_error(int error) { 23 char *gaim_plugin_error(int error) {
24 /* by the time we've gotten here, all our callbacks are removed. 24 /* by the time we've gotten here, all our callbacks are removed.
25 * we just have to deal with what the error was (as defined by us) 25 * we just have to deal with what the error was (as defined by us)
26 * and do any other clean-up stuff we need to do. */ 26 * and do any other clean-up stuff we need to do. */
27 switch (error) { 27 switch (error) {
28 case 1: 28 case 0:
29 do_error_dialog("I'm calling the error myself", "MY BAD"); 29 do_error_dialog("I'm calling the error myself", "MY BAD");
30 return NULL; 30 return NULL;
31 case 2: 31 case 2:
32 return "Internal plugin error: exiting."; 32 return "Internal plugin error: exiting.";
33 } 33 }