comparison src/protocols/yahoo/yahoo_filexfer.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 76125b842b23
children 04a3e9e869ee
comparison
equal deleted inserted replaced
9226:7a00289f2ef1 9227:9171e528d7e5
439 439
440 440
441 /* Setup the Yahoo-specific file transfer data */ 441 /* Setup the Yahoo-specific file transfer data */
442 xfer_data = g_new0(struct yahoo_xfer_data, 1); 442 xfer_data = g_new0(struct yahoo_xfer_data, 1);
443 xfer_data->gc = gc; 443 xfer_data->gc = gc;
444 if (!gaim_url_parse(url, &(xfer_data->host), &(xfer_data->port), &(xfer_data->path))) { 444 if (!gaim_url_parse(url, &(xfer_data->host), &(xfer_data->port), &(xfer_data->path), NULL, NULL)) {
445 g_free(xfer_data); 445 g_free(xfer_data);
446 return; 446 return;
447 } 447 }
448 448
449 gaim_debug_misc("yahoo_filexfer", "Host is %s, port is %d, path is %s, and the full url was %s.\n", 449 gaim_debug_misc("yahoo_filexfer", "Host is %s, port is %d, path is %s, and the full url was %s.\n",