selftest: Fix memset parameters in test for async_connect_send()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 20 Oct 2015 21:37:25 +0000 (10:37 +1300)
committerRalph Böhme <slow@samba.org>
Wed, 21 Oct 2015 15:31:00 +0000 (17:31 +0200)
commit7cf45539da9cba25130457941814da12d0a828c3
treed85f3f9afd0aff15bbb36878b192bd31669b64a9
parentf99d0b917419756b11f0ebfecbe84b3ebab7fa0a
selftest: Fix memset parameters in test for async_connect_send()

This fixes:

../lib/async_req/async_connect_send_test.c: In function ‘main’:
../lib/async_req/async_connect_send_test.c:88:3: error: ‘memset’ used with constant zero length parameter; this could be due to transposed parameters [-Werror=memset-transposed-args]
   memset(&addr, sizeof(addr), 0);
   ^
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11564

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Oct 21 17:31:00 CEST 2015 on sn-devel-104
lib/async_req/async_connect_send_test.c