Fix file transfer crash
authorPekka Riikonen <priikone@silcnet.org>
Mon, 28 Apr 2014 12:05:58 +0000 (15:05 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 28 Apr 2014 12:05:58 +0000 (15:05 +0300)
commitd0c0355c2fa9ef0aa699010242479366c06b7041
tree2b6c9d4f06e9c3798deb00e05a2cf7699f866d65
parent39e99da8fc2c49fe989ef50b040866f735fefd5b
Fix file transfer crash

When silc-client accepts new file transfer and receives public key to
verify it will crash because the client connection has no Irssi server
associated to it.  Handle this gracefully.

Call the sucessful public key verify completion after the key has been
saved because the completion callback may free the public key.
apps/irssi/src/silc/core/client_ops.c