git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AIX doesn't have MSG_DONTWAIT
[samba.git]
/
source3
/
modules
/
vfs_scannedonly.c
diff --git
a/source3/modules/vfs_scannedonly.c
b/source3/modules/vfs_scannedonly.c
index 20fe57d06eb2dcd972922f93acf44fd33041f65d..20c54fbd25cbe295d0902b715da1e7daf5cf1bd9 100644
(file)
--- 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;