chiark / gitweb /
Add missing notification when scratch queued, lost a couple of commits back
[disorder] / libtests / t-addr.c
index 7710212f0837ed48b499b62a10e4f768cdaf6d4b..e33a1d621a3a8ecdd2b5cb9d33f1054c4e4af666 100644 (file)
@@ -33,6 +33,7 @@ static void test_addr(void) {
   };
 
   struct sockaddr_in a1 = {
+    .sin_family = AF_INET,
     .sin_port = ntohs(25),
     .sin_addr = { .s_addr = 0}
   };
@@ -45,6 +46,7 @@ static void test_addr(void) {
   };
 
   struct sockaddr_in a2 = {
+    .sin_family = AF_INET,
     .sin_port = ntohs(119),
     .sin_addr = { .s_addr = htonl(0x7F000001) }
   };