ambrop7 пре 13 година
родитељ
комит
3f49f1bf40
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      server/server.c

+ 1 - 1
server/server.c

@@ -846,7 +846,7 @@ void listener_handler (BListener *listener)
     
     // limit socket send buffer, else our scheduling is pointless
     if (options.client_socket_sndbuf > 0) {
-        if (!BConnection_SetSendBuffer(&client->con, options.client_socket_sndbuf) < 0) {
+        if (!BConnection_SetSendBuffer(&client->con, options.client_socket_sndbuf)) {
             BLog(BLOG_WARNING, "BConnection_SetSendBuffer failed");
         }
     }