comparison src/protocols/jabber/oob.c @ 9227:9171e528d7e5

[gaim-migrate @ 10023] Patch by Don Seiler (aka rizzo) to add two additional parameters to gaim_url_parse(), which are used for storing the username and password from the URL, if they exist. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 07 Jun 2004 04:01:00 +0000
parents 681b1661ee8b
children bd8ac1d4b2f2
comparison
equal deleted inserted replaced
9226:7a00289f2ef1 9227:9171e528d7e5
163 return; 163 return;
164 164
165 url = xmlnode_get_data(urlnode); 165 url = xmlnode_get_data(urlnode);
166 166
167 jox = g_new0(JabberOOBXfer, 1); 167 jox = g_new0(JabberOOBXfer, 1);
168 gaim_url_parse(url, &jox->address, &jox->port, &jox->page); 168 gaim_url_parse(url, &jox->address, &jox->port, &jox->page, NULL, NULL);
169 g_free(url); 169 g_free(url);
170 jox->js = js; 170 jox->js = js;
171 jox->headers = g_string_new(""); 171 jox->headers = g_string_new("");
172 jox->iq_id = g_strdup(xmlnode_get_attrib(packet, "id")); 172 jox->iq_id = g_strdup(xmlnode_get_attrib(packet, "id"));
173 173