Fixed outoing packet queue handling bug on very high load.
[silc.git] / apps / silcd / server.c
index 25c3eb06515aa315218c755812ab733fa1f1c196..cc43d3ba596fbdc7becd9668e18a9a196a17bc33 100644 (file)
@@ -1553,9 +1553,6 @@ SILC_TASK_CALLBACK(silc_server_packet_process)
 
     server->stat.packets_sent++;
 
-    if (sock->outbuf->data - sock->outbuf->head)
-     silc_buffer_push(sock->outbuf, sock->outbuf->data - sock->outbuf->head);
-
     /* Send the packet */
     ret = silc_packet_send(sock, TRUE);