make sure session->hostname and session->port are valid before the
authorPatrik Weiskircher <pat@silcnet.org>
Thu, 5 Jan 2006 19:15:33 +0000 (19:15 +0000)
committerPatrik Weiskircher <pat@silcnet.org>
Thu, 5 Jan 2006 19:15:33 +0000 (19:15 +0000)
commit8c4e6ad7be92c0783c657c0c3c64a9a1d1984939
tree5f34bf63caa06dd297a4bfd516fe810d0e8ad8ad
parent99e0d5ed5639b1e1a37b51f0bf8bbaf87d1f6a28
make sure session->hostname and session->port are valid before the
application callback is done, since things will go wrong if the
application immediately calls silc_client_file_receive.
Patch received from Stefan Siegel <stesie@brokenpipe.de>, thanks!
CHANGES
lib/silcclient/client_ftp.c