git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc38b0
)
AIX doesn't have MSG_DONTWAIT
author
olivier
<olivier@virtscano.fakenet>
Fri, 29 Jan 2010 11:04:35 +0000
(12:04 +0100)
committer
Björn Jacke
<bj@sernet.de>
Fri, 29 Jan 2010 14:26:36 +0000
(15:26 +0100)
source3/modules/vfs_scannedonly.c
patch
|
blob
|
history
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;