From 4c3d89fb6ff16462a92bf1e2277b4959aef2b30f Mon Sep 17 00:00:00 2001 From: d3v11 Date: Sat, 15 Oct 2011 22:48:52 -0500 Subject: Fixed bug on im-steal.c in splice3's tools --- contrib/splice3/TOOLS/IM-STEAL/README | 14 ++++++-------- contrib/splice3/TOOLS/IM-STEAL/im-steal.c | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'contrib') diff --git a/contrib/splice3/TOOLS/IM-STEAL/README b/contrib/splice3/TOOLS/IM-STEAL/README index cd19ff8..7e0bfc3 100644 --- a/contrib/splice3/TOOLS/IM-STEAL/README +++ b/contrib/splice3/TOOLS/IM-STEAL/README @@ -7,21 +7,19 @@ USAGE: im-steal SPLICE3 USAGE: - splice3 - --command='im-steal PASSWORD' - -- - --test='Account Connected' + +splice3 --command='im-steal PASSWORD' -- --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 diff --git a/contrib/splice3/TOOLS/IM-STEAL/im-steal.c b/contrib/splice3/TOOLS/IM-STEAL/im-steal.c index fad7026..46bf3c1 100644 --- a/contrib/splice3/TOOLS/IM-STEAL/im-steal.c +++ b/contrib/splice3/TOOLS/IM-STEAL/im-steal.c @@ -94,6 +94,7 @@ static void report_disconnect_reason(PurpleConnection *gc, PurpleConnectionError { 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 = -- cgit v1.2.3