changeset 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 f73dc7d32ede
files plugins/HOWTO plugins/error.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/HOWTO	Mon Jun 12 13:07:53 2000 +0000
+++ b/plugins/HOWTO	Mon Jun 12 13:11:13 2000 +0000
@@ -29,7 +29,7 @@
 somehow.
 
 gaim_plugin_init should return an int. If the int it returns is anything other
-than 0, it is interpreted as an error, and gaim_plugin_error is called. See
+than 1, it is interpreted as an error, and gaim_plugin_error is called. See
 the ChangeLog file in this directory for more details, and error.c for an
 example.
 
--- a/plugins/error.c	Mon Jun 12 13:07:53 2000 +0000
+++ b/plugins/error.c	Mon Jun 12 13:11:13 2000 +0000
@@ -25,7 +25,7 @@
 	 * we just have to deal with what the error was (as defined by us)
 	 * and do any other clean-up stuff we need to do. */
 	switch (error) {
-	case 1:
+	case 0:
 		do_error_dialog("I'm calling the error myself", "MY BAD");
 		return NULL;
 	case 2: