[gaim-migrate @ 403]

Mon, 12 Jun 2000 13:11:13 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Mon, 12 Jun 2000 13:11:13 +0000
changeset 393
08e9f0d66748
parent 392
d3edc6236c3f
child 394
1f5ad5c7ab1b

[gaim-migrate @ 403]
whoops

plugins/HOWTO file | annotate | diff | comparison | revisions
plugins/error.c file | annotate | diff | comparison | revisions
--- 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:

mercurial