From 26396999b2ebd1445309a9a1bc080971d1f27795 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Wed, 6 Apr 2005 07:45:25 +0000 Subject: [PATCH] Warning fix. --- apps/silcd/command_reply.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index 9f0958f8..bff83174 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -170,8 +170,8 @@ static char silc_server_command_reply_whois_save(SilcServerCommandReplyContext cmd) { SilcServer server = cmd->server; - unsigned char *tmp, *id_data, *umodes; - char *nickname, *username, *realname, *servername = NULL; + unsigned char *id_data, *umodes; + char *nickname, *username, *realname, *tmp, *servername = NULL; unsigned char *fingerprint; SilcClientID *client_id; SilcClientEntry client; @@ -252,7 +252,7 @@ silc_server_command_reply_whois_save(SilcServerCommandReplyContext cmd) } /* Check username */ - silc_parse_userfqdn(username, (char **)&tmp, NULL); + silc_parse_userfqdn(username, &tmp, NULL); if (!silc_identifier_verify(tmp, strlen(tmp), SILC_STRING_UTF8, 128)) { silc_free(tmp); silc_free(nick); -- 2.24.0