diff -r d0a29ff182c8 -r e8c3eafab5f8 src/protocols/yahoo/yahoo_filexfer.c --- a/src/protocols/yahoo/yahoo_filexfer.c Tue Feb 07 01:21:38 2006 +0000 +++ b/src/protocols/yahoo/yahoo_filexfer.c Tue Feb 07 01:43:27 2006 +0000 @@ -64,7 +64,7 @@ return; if (!(xd = xfer->data)) return; - if (source < 0) { + if ((source < 0) || (xd->path == NULL) || (xd->host == NULL)) { gaim_xfer_error(GAIM_XFER_RECEIVE, gaim_xfer_get_account(xfer), xfer->who, _("Unable to connect.")); gaim_xfer_cancel_remote(xfer);