]> granicus.if.org Git - libevent/commitdiff
test/regress_http: fix compilation warnings (-Wmissing-field-initializers)
authorAzat Khuzhin <a3at.mail@gmail.com>
Thu, 8 Oct 2015 22:50:05 +0000 (01:50 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Thu, 8 Oct 2015 22:50:05 +0000 (01:50 +0300)
test/regress_http.c

index 9f56f5035ca3fafe86daf49ef3b81d565b8eb76a..05806b38939e0514ced727c75ba92a879bc0b1cc 100644 (file)
@@ -1076,8 +1076,8 @@ http_persist_connection_test(void *arg)
 }
 
 static struct regress_dns_server_table search_table[] = {
-       { "localhost", "A", "127.0.0.1", 0 },
-       { NULL, NULL, NULL, 0 }
+       { "localhost", "A", "127.0.0.1", 0, 0 },
+       { NULL, NULL, NULL, 0, 0 }
 };
 
 static void
@@ -3898,8 +3898,8 @@ http_terminate_chunked_oneshot_test(void *arg)
 }
 
 static struct regress_dns_server_table ipv6_search_table[] = {
-       { "localhost", "AAAA", "::1", 0 },
-       { NULL, NULL, NULL, 0 }
+       { "localhost", "AAAA", "::1", 0, 0 },
+       { NULL, NULL, NULL, 0, 0 }
 };
 
 static void