]> granicus.if.org Git - libevent/commitdiff
test/regress_http: remove second ARRAY_SIZE macros
authorAzat Khuzhin <azat@libevent.org>
Tue, 2 Jun 2020 07:12:20 +0000 (10:12 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 2 Jun 2020 07:12:20 +0000 (10:12 +0300)
test/regress_http.c

index 7f43ebf5ee6b15e2f98ad78940853612c02a4922..279dcd4df2196bb0d090c025e1158babd4e22adc 100644 (file)
@@ -5319,7 +5319,6 @@ http_timeout_read_server_test(void *arg)
 
 
 
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
 static void
 http_max_connections_test(void *arg)
 {