cpw.malu.xmpp.jingle_ft: eace3f65: The IBB transport method still has a :0 ...
malu at pidgin.im
malu at pidgin.im
Wed Sep 2 17:26:26 EDT 2009
-----------------------------------------------------------------
Revision: eace3f651400230411b3c4477bd07a5ea9038fd7
Ancestor: 75fe8544c3bee73b9a7458e025ae3e9ce383a236
Author: malu at pidgin.im
Date: 2009-09-02T21:20:19
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/eace3f651400230411b3c4477bd07a5ea9038fd7
Modified files:
libpurple/protocols/jabber/jingle/file-transfer.c
libpurple/protocols/jabber/jingle/jingle.h
ChangeLog:
The IBB transport method still has a :0 postfix in the namespace, not :1
where did I get that from? :)
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/file-transfer.c 4f2b6c75250395df68c60b838f941678710bbfae
+++ libpurple/protocols/jabber/jingle/file-transfer.c d912129c6ff98a5e604cff817e1136cfbc50fd1c
@@ -703,8 +703,6 @@ jingle_file_transfer_handle_action_inter
JingleFT *ft = JINGLE_FT(content);
/* send first data */
- purple_xfer_set_bytes_sent(xfer, 0);
- purple_xfer_update_progress(xfer);
purple_xfer_set_write_fnc(xfer, jingle_file_transfer_ibb_write);
purple_xfer_start(xfer, -1, NULL, 0);
purple_xfer_prpl_ready(xfer);
@@ -855,8 +853,6 @@ jingle_file_transfer_handle_action_inter
/* send first data */
purple_xfer_start(xfer, -1, NULL, 0);
- purple_xfer_set_bytes_sent(xfer, 0);
- purple_xfer_update_progress(xfer);
purple_xfer_prpl_ready(xfer);
}
============================================================
--- libpurple/protocols/jabber/jingle/jingle.h 4eb5ec8dc12d402ada0fba993e07c938b850c9a7
+++ libpurple/protocols/jabber/jingle/jingle.h 0a9892f983d8c5db376b6fc9d9aa6cf80cd07792
@@ -45,7 +45,7 @@ extern "C" {
#define JINGLE_APP_XML "urn:xmpp:tmp:jingle:apps:xmlstream"
#define JINGLE_DTMF "urn:xmpp:jingle:dtmf:0"
#define JINGLE_TRANSPORT_S5B "urn:xmpp:jingle:transports:s5b:1"
-#define JINGLE_TRANSPORT_IBB "urn:xmpp:jingle:transports:ibb:1"
+#define JINGLE_TRANSPORT_IBB "urn:xmpp:jingle:transports:ibb:0"
#define JINGLE_TRANSPORT_ICEUDP "urn:xmpp:jingle:transports:ice-udp:1"
#define JINGLE_TRANSPORT_RAWUDP "urn:xmpp:jingle:transports:raw-udp:1"
More information about the Commits
mailing list