From e95e3270d1f3fece7292359d276ce45913a699ac Mon Sep 17 00:00:00 2001 From: olivier Date: Fri, 29 Jan 2010 12:04:35 +0100 Subject: AIX doesn't have MSG_DONTWAIT --- source3/modules/vfs_scannedonly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c index 20fe57d06eb..20c54fbd25c 100644 --- a/source3/modules/vfs_scannedonly.c +++ b/source3/modules/vfs_scannedonly.c @@ -246,7 +246,7 @@ static void flush_sendbuffer(vfs_handle_struct * handle) do { loop--; len = strlen(so->gsendbuffer); - ret = send(so->socket, so->gsendbuffer, len, MSG_DONTWAIT); + ret = send(so->socket, so->gsendbuffer, len, 0); if (ret == len) { so->gsendbuffer[0] = '\0'; break; -- cgit