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) {
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) {
} 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);
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;
}