projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API documentation changes.
[crypto.git]
/
lib
/
silcclient
/
client_ftp.c
diff --git
a/lib/silcclient/client_ftp.c
b/lib/silcclient/client_ftp.c
index ead3a04ec084bf4f36245e9e2413a86cc2a3dfbb..5c0982743765894006f689c178b4c9e12be50cbf 100644
(file)
--- 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)) {
/* 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;
}
silc_free(session);
return SILC_CLIENT_FILE_ERROR;
}