summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_scannedonly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_scannedonly.c b/source3/modules/vfs_scannedonly.c
index 20fe57d06e..20c54fbd25 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;