Fix examples to use new API and lots of compiler warnings.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user