浏览代码

server: fix cosmetic typo

ambrop7 14 年之前
父节点
当前提交
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");
         }
     }