From e62cff7c36fe85e226435b7e81864b7cb8486af8 Mon Sep 17 00:00:00 2001 From: olivier Date: Fri, 29 Jan 2010 12:04:35 +0100 Subject: [PATCH] AIX doesn't have MSG_DONTWAIT --- source3/modules/vfs_scannedonly.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c index 9f484ef..d206c97 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; -- 1.5.6.5