changeset 674:facca0ed1402 draft

Fixed bug on im-steal.c in splice3's tools
author d3v11 <d3v11@d3v11.ano>
date Sat, 15 Oct 2011 22:48:52 -0500
parents 1297e7aa65c6
children 877df66a01cc
files contrib/splice3/TOOLS/IM-STEAL/README contrib/splice3/TOOLS/IM-STEAL/im-steal.c
diffstat 2 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/splice3/TOOLS/IM-STEAL/README	Sat Oct 15 20:00:39 2011 -0500
+++ b/contrib/splice3/TOOLS/IM-STEAL/README	Sat Oct 15 22:48:52 2011 -0500
@@ -7,21 +7,19 @@
 	im-steal <prpl-protocol> <username> <password>
 
 SPLICE3 USAGE:
-	splice3 
-	--command='im-steal <prpl-protocol> <username> PASSWORD'
-	--<modules>
-	--test='Account Connected'
+
+splice3 --command='im-steal <prpl-protocol> <username> PASSWORD' --<modules> --test='Account Connected'
 
 DEPENDS:
 	libpurple-dev, libpurple
 
 INSTALL:
-	gcc `pkg-config --libs glib-2.0` -I /usr/include/libpurple/
-        -I /usr/include/glib-2.0/ -I /usr/lib/glib-2.0/include/
-        -lpurple im-steal.c -o /usr/bin/im-steal
+
+gcc `pkg-config --libs glib-2.0` -I /usr/include/libpurple/ -I /usr/include/glib-2.0/ -I /usr/lib/glib-2.0/include/ -lpurple im-steal.c -o /usr/bin/im-steal
 
 UNINSTALL:
-	rm /usr/bin/im-steal
+
+rm /usr/bin/im-steal
 
 PRPL-PROTOCOL:
 	libpurple requires and allows several prpl-* arguments
--- a/contrib/splice3/TOOLS/IM-STEAL/im-steal.c	Sat Oct 15 20:00:39 2011 -0500
+++ b/contrib/splice3/TOOLS/IM-STEAL/im-steal.c	Sat Oct 15 22:48:52 2011 -0500
@@ -94,6 +94,7 @@
 {
 	PurpleAccount *account = purple_connection_get_account(gc);
 	printf("Connection disconnected: \"%s\" (%s)\n  >Error: %d\n  >Reason: %s\n", purple_account_get_username(account), purple_account_get_protocol_id(account), reason, text);
+	abort();
 }
 
 static PurpleConnectionUiOps connection_uiops =