libpurple/protocols/jabber/bosh.c

changeset 33428
ca36fb806037
parent 32157
39ba2e2492ee
child 33440
8bc333966d04
equal deleted inserted replaced
33427:dd0c0860e293 33428:ca36fb806037
200 { 200 {
201 PurpleBOSHConnection *conn; 201 PurpleBOSHConnection *conn;
202 char *host, *path, *user, *passwd; 202 char *host, *path, *user, *passwd;
203 int port; 203 int port;
204 204
205 if (!purple_url_parse(url, &host, &port, &path, &user, &passwd)) { 205 if (!purple_url_parse(url, NULL, &host, &port, &path, &user, &passwd)) {
206 purple_debug_info("jabber", "Unable to parse given URL.\n"); 206 purple_debug_info("jabber", "Unable to parse given URL.\n");
207 return NULL; 207 return NULL;
208 } 208 }
209 209
210 conn = g_new0(PurpleBOSHConnection, 1); 210 conn = g_new0(PurpleBOSHConnection, 1);

mercurial