X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fcommand.c;h=8097b7e7baf722b14820049b49ff2aa70ad793f6;hb=48df45ce74e38c47a8a05a5dcb3b57a61eeb0b5d;hp=e021c2a422027f779c5dfaade549c362d8a7891f;hpb=0e035ff559c5c5c748b2fda72a1cd1935afec33a;p=silc.git diff --git a/lib/silcclient/command.c b/lib/silcclient/command.c index e021c2a4..8097b7e7 100644 --- a/lib/silcclient/command.c +++ b/lib/silcclient/command.c @@ -362,7 +362,7 @@ SILC_CLIENT_CMD_FUNC(nick_change) SilcClientConnection conn = cmd->conn; SilcClientCommandReplyContext reply = (SilcClientCommandReplyContext)context2; - SilcCommandStatus status; + SilcStatus status; silc_command_get_status(reply->payload, &status, NULL); if (status == SILC_STATUS_OK) { @@ -789,7 +789,7 @@ SILC_CLIENT_CMD_FUNC(kill_remove) SilcClientCommandContext cmd = (SilcClientCommandContext)context; SilcClientCommandReplyContext reply = (SilcClientCommandReplyContext)context2; - SilcCommandStatus status; + SilcStatus status; silc_command_get_status(reply->payload, &status, NULL); if (status == SILC_STATUS_OK) { @@ -2178,7 +2178,7 @@ SILC_CLIENT_CMD_FUNC(getkey) } else { SilcClientCommandReplyContext reply = (SilcClientCommandReplyContext)context2; - SilcCommandStatus error; + SilcStatus error; /* If nickname was not found, then resolve the server. */ silc_command_get_status(reply->payload, NULL, &error); @@ -2202,9 +2202,9 @@ SILC_CLIENT_CMD_FUNC(getkey) server and did not find anybody. */ if (error == SILC_STATUS_ERR_NO_SUCH_SERVER) { SAY(cmd->client, conn, SILC_CLIENT_MESSAGE_ERROR, "%s", - silc_client_command_status_message(SILC_STATUS_ERR_NO_SUCH_NICK)); + silc_client_status_message(SILC_STATUS_ERR_NO_SUCH_NICK)); SAY(cmd->client, conn, SILC_CLIENT_MESSAGE_ERROR, "%s", - silc_client_command_status_message(error)); + silc_client_status_message(error)); COMMAND_ERROR; goto out; }