| 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); |