X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_notify.c;h=403d7623af0b0eea538042d641a0e2015ecaa943;hb=dec23b2f25ece17efc64295a144cde7b72b7014d;hp=94e487f173dd92c76e24909c38bc9eaeddd266a8;hpb=0f093b08e579e8c8e04800ed74210bbd521a1475;p=silc.git diff --git a/lib/silcclient/client_notify.c b/lib/silcclient/client_notify.c index 94e487f1..403d7623 100644 --- a/lib/silcclient/client_notify.c +++ b/lib/silcclient/client_notify.c @@ -184,8 +184,10 @@ void silc_client_notify_by_server(SilcClient client, /* If nickname or username hasn't been resolved, do so */ if (!client_entry->nickname || !client_entry->username) { - if (client_entry->status & SILC_CLIENT_STATUS_RESOLVING) + if (client_entry->status & SILC_CLIENT_STATUS_RESOLVING) { + client_entry->status &= ~SILC_CLIENT_STATUS_RESOLVING; goto out; + } client_entry->status |= SILC_CLIENT_STATUS_RESOLVING; silc_client_notify_by_server_resolve(client, conn, packet, client_id); goto out;