minor change
[silc.git] / apps / silcd / server.c
index 2bc6e45e03ed06be32f71f8c1910e72cc3b978f0..e735125ff468c572a6df11a92f18001f5a071c38 100644 (file)
@@ -1155,11 +1155,8 @@ SILC_TASK_CALLBACK(silc_server_packet_process)
  
     /* Process the packet. This will call the parser that will then
        decrypt and parse the packet. */
-    if (!silc_packet_receive_process(sock, cipher, hmac,
-                                    silc_server_packet_parse, server)) {
-      silc_buffer_clear(sock->inbuf);
-      return;
-    }
+    silc_packet_receive_process(sock, cipher, hmac,
+                               silc_server_packet_parse, server);
   }
 }