summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolivier <olivier@virtscano.fakenet>2010-01-29 12:04:35 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-29 15:26:36 +0100
commite95e3270d1f3fece7292359d276ce45913a699ac (patch)
tree7c1567c9cd4cf902dc6004a875aba455b1884ada
parentadc38b00a90897da0ccf0120638b520153d0f4d6 (diff)
downloadsamba-e95e3270d1f3fece7292359d276ce45913a699ac.tar.gz
samba-e95e3270d1f3fece7292359d276ce45913a699ac.tar.bz2
samba-e95e3270d1f3fece7292359d276ce45913a699ac.zip
AIX doesn't have MSG_DONTWAIT
-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;