My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 2 attachment: jingle0.5.x.patch (2.3 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
diff -r 54708e7603dd sources/MyPktSocket.cpp
--- a/sources/MyPktSocket.cpp Sat Aug 30 18:11:44 2008 +0000
+++ b/sources/MyPktSocket.cpp Sat May 07 11:39:38 2011 +0200
@@ -70,7 +70,7 @@
// TODO: Make sure that we got all of the packet. If we did not, then we
// should resize our buffer to be large enough.

- SignalReadPacket(buf_, (size_t)len, remote_addr, this);
+ SignalReadPacket(this, buf_, (size_t)len, remote_addr);

if (pending_reads_ > 0) {
socket_->SignalReadEvent(socket_);
diff -r 54708e7603dd sources/PipeClient.cpp
--- a/sources/PipeClient.cpp Sat Aug 30 18:11:44 2008 +0000
+++ b/sources/PipeClient.cpp Sat May 07 11:39:38 2011 +0200
@@ -11,9 +11,9 @@
#include "talk/examples/login/xmppauth.h"
#include "talk/p2p/client/httpportallocator.h"
#include "talk/p2p/client/sessionmanagertask.h"
-#include "talk/examples/login/presencepushtask.h"
-#include "talk/examples/login/presenceouttask.h"
-#include "talk/examples/login/jingleinfotask.h"
+#include "talk/examples/call/presencepushtask.h"
+#include "talk/examples/call/presenceouttask.h"
+//#include "talk/examples/login/jingleinfotask.h"
#include "talk/session/tunnel/tunnelsessionclient.h"

#include "PipeClient.h"
@@ -327,4 +327,4 @@
printf("not a pipe request, rejecting\n");
client->DeclineTunnel(session);
}
-}
\ No newline at end of file
+}
diff -r 54708e7603dd sources/PipeClient.h
--- a/sources/PipeClient.h Sat Aug 30 18:11:44 2008 +0000
+++ b/sources/PipeClient.h Sat May 07 11:39:38 2011 +0200
@@ -11,20 +11,20 @@
#include "talk/examples/login/xmppauth.h"
#include "talk/p2p/client/httpportallocator.h"
#include "talk/p2p/client/sessionmanagertask.h"
-#include "talk/examples/login/presencepushtask.h"
-#include "talk/examples/login/presenceouttask.h"
-#include "talk/examples/login/jingleinfotask.h"
+#include "talk/examples/call/presencepushtask.h"
+#include "talk/examples/call/presenceouttask.h"
+//#include "talk/examples/call/jingleinfotask.h"
#include "talk/session/tunnel/tunnelsessionclient.h"

#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif

-struct RosterItem {
+/*struct RosterItem {
buzz::Jid jid;
buzz::Status::Show show;
std::string status;
-};
+};*/

class PipeEp;

@@ -69,4 +69,4 @@
std::vector<PipeEp *> pipes_;
};

-#endif
\ No newline at end of file
+#endif
Powered by Google Project Hosting