Go through whole list of pending commands when deleting by
authorPekka Riikonen <priikone@silcnet.org>
Sat, 29 Jun 2002 22:25:12 +0000 (22:25 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 29 Jun 2002 22:25:12 +0000 (22:25 +0000)
ident.  It's possible to have several there with same ident.

apps/silcd/command.c

index 65b41e2db691e8f9c91ab6191d9a48b084c6ac14..1b5a3f27676cc78db9b2cb15bd97cef9e0356acc 100644 (file)
@@ -369,7 +369,6 @@ void silc_server_command_pending_del(SilcServer server,
     if (r->reply_cmd == reply_cmd && r->ident == ident) {
       silc_dlist_del(server->pending_commands, r);
       silc_free(r);
-      break;
     }
   }
 }