X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_notify.c;h=80182f5a9240f65a60a1c492956027929af6ef24;hb=f1a1c41a159700e60f98a1dcf3bc4801c36af62c;hp=797b464e8deaba7ce547ae69c48c4285238bd04c;hpb=190a11fdbc18f27db65608586806b3a4b7faa4bb;p=silc.git diff --git a/lib/silcclient/client_notify.c b/lib/silcclient/client_notify.c index 797b464e..80182f5a 100644 --- a/lib/silcclient/client_notify.c +++ b/lib/silcclient/client_notify.c @@ -306,7 +306,7 @@ void silc_client_notify_by_server(SilcClient client, /* Some client implementations actually quit network by first doing LEAVE and then immediately SIGNOFF. We'll check for this by doing - check for the client after 5 - 14 seconds. If it is not valid after + check for the client after 5 - 34 seconds. If it is not valid after that we'll remove the client from cache. */ if (!silc_hash_table_count(client_entry->channels)) { SilcClientNotifyResolve res = silc_calloc(1, sizeof(*res)); @@ -314,7 +314,7 @@ void silc_client_notify_by_server(SilcClient client, res->packet = silc_id_dup(client_id, SILC_ID_CLIENT); silc_schedule_task_add(client->schedule, 0, silc_client_notify_check_client, conn, - (5 + (silc_rng_get_rn16(client->rng) % 9)), + (5 + (silc_rng_get_rn16(client->rng) % 29)), 0, SILC_TASK_TIMEOUT, SILC_TASK_PRI_NORMAL); }