Fix examples to use new API and lots of compiler warnings.

This commit is contained in:
Jack Moffitt
2008-07-02 23:17:27 +00:00
parent 65a174ee7e
commit 9c49b16554
22 changed files with 197 additions and 71 deletions

View File

@@ -112,7 +112,7 @@ int main(int argc, char **argv)
xmpp_conn_set_pass(conn, argv[2]);
/* initiate connection */
xmpp_connect_client(conn, argv[3], conn_handler, ctx);
xmpp_connect_client(conn, argv[3], NULL, 0, conn_handler, ctx);
/* start the event loop */
xmpp_run(ctx);