Mercurial > gftp.yaz
diff lib/misc.c @ 296:51725086634d
2003-10-26 Brian Masney <masneyb@gftp.org>
* lib/misc.c (copy_request) - don't copy over the hostp pointer. This
fixes a segfault in DnD
* lib/sshv2.c - cleaned up the ssh2_params structure some
* src/gtk/dnd.c - cleaned up the DND code some.
author | masneyb |
---|---|
date | Mon, 27 Oct 2003 00:54:25 +0000 |
parents | 6e255984c0b0 |
children | 3b9d5797050f |
line wrap: on
line diff
--- a/lib/misc.c Sat Oct 25 22:37:48 2003 +0000 +++ b/lib/misc.c Mon Oct 27 00:54:25 2003 +0000 @@ -665,7 +665,7 @@ newreq->use_proxy = req->use_proxy; newreq->logging_function = req->logging_function; newreq->free_hostp = 0; - newreq->hostp = req->hostp; + newreq->hostp = NULL; if (copy_local_options) gftp_copy_local_options (&newreq->local_options_vars,