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

@@ -72,7 +72,7 @@ int main(int argc, char **argv)
xmpp_conn_set_pass(conn, pass);
/* initiate connection */
xmpp_connect_client(conn, server, conn_handler, ctx);
xmpp_connect_client(conn, server, NULL, 0, conn_handler, ctx);
/* enter the event loop -
our connect handler will trigger an exit */