X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand_reply.c;h=d2d8ec3cb8cbba90e877a618d7ca5cf9323c84e6;hb=cbc144f6d31ef9d08feb0c8d1b938519f5d450e0;hp=d9ebf2933c8630c9f2e7dbf3c0943efeb4f20047;hpb=cea5d6d936be6a8ecb6827a2a4535e32a8fd3810;p=silc.git diff --git a/apps/silcd/command_reply.c b/apps/silcd/command_reply.c index d9ebf293..d2d8ec3c 100644 --- a/apps/silcd/command_reply.c +++ b/apps/silcd/command_reply.c @@ -179,7 +179,8 @@ silc_server_command_reply_whois_save(SilcServerCommandReplyContext cmd) SilcUInt32 mode = 0, len, len2, id_len, flen; const char *hostname, *ip; - silc_socket_stream_get_info(cmd->sock, NULL, &hostname, &ip, NULL); + silc_socket_stream_get_info(silc_packet_stream_get_stream(cmd->sock), + NULL, &hostname, &ip, NULL); id_data = silc_argument_get_arg_type(cmd->args, 2, &id_len); nickname = silc_argument_get_arg_type(cmd->args, 3, &len); @@ -458,7 +459,8 @@ silc_server_command_reply_whowas_save(SilcServerCommandReplyContext cmd) int global = FALSE; const char *hostname, *ip; - silc_socket_stream_get_info(cmd->sock, NULL, &hostname, &ip, NULL); + silc_socket_stream_get_info(silc_packet_stream_get_stream(cmd->sock), + NULL, &hostname, &ip, NULL); id_data = silc_argument_get_arg_type(cmd->args, 2, &id_len); nickname = silc_argument_get_arg_type(cmd->args, 3, &len);