X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_ftp.c;h=5c0982743765894006f689c178b4c9e12be50cbf;hb=c3877704342b62a917e5f84701aea939dc0e6efa;hp=ead3a04ec084bf4f36245e9e2413a86cc2a3dfbb;hpb=12fb34e87f6f6dad716a5a2553e025eda29c84b7;p=crypto.git diff --git a/lib/silcclient/client_ftp.c b/lib/silcclient/client_ftp.c index ead3a04e..5c098274 100644 --- a/lib/silcclient/client_ftp.c +++ b/lib/silcclient/client_ftp.c @@ -853,6 +853,11 @@ silc_client_file_receive(SilcClient client, /* Add the listener for the key agreement */ SILC_LOG_DEBUG(("Creating listener for file transfer")); if (!params || (!params->local_ip && !params->bind_ip)) { + session->client->internal->ops->say(session->client, session->conn, + SILC_CLIENT_MESSAGE_ERROR, + "Cannot create listener for file " + "transfer; IP address and/or port " + "not provided"); silc_free(session); return SILC_CLIENT_FILE_ERROR; }