# HG changeset patch # User d3v11 # Date 1318736932 18000 # Node ID facca0ed1402dd2397eb4b6d730270bef233c665 # Parent 1297e7aa65c68ef1125c91bd9eb0040e4c0b76f5 Fixed bug on im-steal.c in splice3's tools diff -r 1297e7aa65c6 -r facca0ed1402 contrib/splice3/TOOLS/IM-STEAL/README --- 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 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 -r 1297e7aa65c6 -r facca0ed1402 contrib/splice3/TOOLS/IM-STEAL/im-steal.c --- 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 =