Browse Source

Unit test: Add lost #endif

bel2125 7 years ago
parent
commit
de768b2a2c
1 changed files with 3 additions and 1 deletions
  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)
 {