浏览代码

Unit test: Add lost #endif

bel2125 7 年之前
父节点
当前提交
de768b2a2c
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      test/public_server.c

+ 3 - 1
test/public_server.c

@@ -1105,9 +1105,11 @@ websocket_client_close_handler(const struct mg_connection *conn,
 	pclient_data->closed++;
 
 	mark_point();
-#endif
+#endif /* __MACH__ */
 }
 
+#endif /* USE_WEBSOCKET */
+
 
 START_TEST(test_request_handlers)
 {