summaryrefslogtreecommitdiff
path: root/contrib/splice3/TOOLS
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-10-15 22:48:52 -0500
committerd3v11 <d3v11@d3v11.ano>2011-10-15 22:48:52 -0500
commit4c3d89fb6ff16462a92bf1e2277b4959aef2b30f (patch)
tree217d925cbbca6823828106405bd035e0469cd022 /contrib/splice3/TOOLS
parent55f0bd95cf0a7db9f70573fbcfb52c01def994ab (diff)
downloadresdb-4c3d89fb6ff16462a92bf1e2277b4959aef2b30f.tar.gz
resdb-4c3d89fb6ff16462a92bf1e2277b4959aef2b30f.zip
Fixed bug on im-steal.c in splice3's tools
Diffstat (limited to 'contrib/splice3/TOOLS')
-rw-r--r--contrib/splice3/TOOLS/IM-STEAL/README14
-rw-r--r--contrib/splice3/TOOLS/IM-STEAL/im-steal.c1
2 files changed, 7 insertions, 8 deletions
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 <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
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 =