summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2009-07-21 19:15:44 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2009-08-04 11:55:46 +0100
commit3d415b6806790622086d3df10b562c484af35230 (patch)
tree7650bacc82d26853ceeabdb793c32e66cf5e4f9c /examples
parent75fc9f5fc79dad7a325d2e9bab366879bdf5389d (diff)
Add ID paramater to stream open methods (needed for server stream open)
Diffstat (limited to 'examples')
-rw-r--r--examples/connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/connect.c b/examples/connect.c
index 8c1ef6c..0a49ec7 100644
--- a/examples/connect.c
+++ b/examples/connect.c
@@ -56,7 +56,7 @@ auth_done_cb (GObject *source,
/* Reopen the connection */
wocky_xmpp_connection_reset (conn);
wocky_xmpp_connection_send_open_async (conn,
- server, NULL, "1.0", NULL,
+ server, NULL, "1.0", NULL, NULL,
NULL, post_auth_open_sent_cb, NULL);
}
@@ -167,7 +167,7 @@ tcp_start_tls_recv_cb (GObject *source,
conn = wocky_xmpp_connection_new (G_IO_STREAM (ssl));
wocky_xmpp_connection_send_open_async (conn,
- server, NULL, "1.0", NULL,
+ server, NULL, "1.0", NULL, NULL,
NULL, ssl_open_sent_cb, NULL);
}
@@ -283,7 +283,7 @@ tcp_do_connect (void)
conn = wocky_xmpp_connection_new (G_IO_STREAM (tcp));
wocky_xmpp_connection_send_open_async (conn,
- server, NULL, "1.0", NULL,
+ server, NULL, "1.0", NULL, NULL,
NULL, tcp_sent_open_cb, NULL);
}