minor change
[silc.git] / lib / silcclient / client.c
index ad273bdc5046d9c27742ed7a8cd1412a9ff7e9bb..dba66d2933814ffe852f92b05a41d562d99e575c 100644 (file)
@@ -606,11 +606,8 @@ SILC_TASK_CALLBACK(silc_client_packet_process)
 
     /* Process the packet. This will call the parser that will then
        decrypt and parse the packet. */
-    if (!silc_packet_receive_process(sock, conn->receive_key, conn->hmac,
-                                    silc_client_packet_parse, client)) {
-      silc_buffer_clear(sock->inbuf);
-      return;
-    }
+    silc_packet_receive_process(sock, conn->receive_key, conn->hmac,
+                               silc_client_packet_parse, client);
   }
 }