libpurple/protocols/jabber/oob.c

changeset 32678
01f6312a4a7b
parent 32665
1ddb514482cb
child 32703
cd83cdab1b0f
equal deleted inserted replaced
32677:52d651b3b98f 32678:01f6312a4a7b
216 g_free(url); 216 g_free(url);
217 jox->js = js; 217 jox->js = js;
218 jox->headers = g_string_new(""); 218 jox->headers = g_string_new("");
219 jox->iq_id = g_strdup(id); 219 jox->iq_id = g_strdup(id);
220 220
221 xfer = purple_xfer_new(js->gc->account, PURPLE_XFER_RECEIVE, from); 221 xfer = purple_xfer_new(purple_connection_get_account(js->gc), PURPLE_XFER_RECEIVE, from);
222 if (xfer) 222 if (xfer)
223 { 223 {
224 purple_xfer_set_protocol_data(xfer, jox); 224 purple_xfer_set_protocol_data(xfer, jox);
225 225
226 if(!(filename = g_strdup(g_strrstr(jox->page, "/")))) 226 if(!(filename = g_strdup(g_strrstr(jox->page, "/"))))

mercurial