1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/async_req
Andrew Bartlett 7cf45539da 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
2015-10-21 17:31:00 +02:00
..
async_connect_send_test.c selftest: Fix memset parameters in test for async_connect_send() 2015-10-21 17:31:00 +02:00
async_sock.c async_req: fix non-blocking connect() 2015-10-20 20:22:22 +02:00
async_sock.h async_req: check for errors when monitoring socket for readability 2015-07-15 22:41:13 +02:00
wscript_build selftest: add a test for async_connect_send() 2015-10-20 20:22:22 +02:00