]> git.llucax.com Git - software/posixx.git/blobdiff - test/socket/generic_test.hpp
Update Makeit.mak
[software/posixx.git] / test / socket / generic_test.hpp
index 4e87780dbce6cb10bdafef89f6a1a4ca1a2ed094..a5716f674b902c7976e70a811f5af45a51ae6f2d 100644 (file)
@@ -233,6 +233,7 @@ BOOST_AUTO_TEST_CASE( dgram_sendto_recvfrom_struct_test )
        s2.bind(test_address2);
        // socket 1 send
        data d;
        s2.bind(test_address2);
        // socket 1 send
        data d;
+       memset(&d, 0, sizeof(data));
        strcpy(d.msg, "hello world!");
        d.number = -32495813;
        s1.send_struct(d, test_address2);
        strcpy(d.msg, "hello world!");
        d.number = -32495813;
        s1.send_struct(d, test_address2);