AIX doesn't have MSG_DONTWAIT
[ira/wip.git] / source3 / modules / vfs_scannedonly.c
index 20fe57d06eb2dcd972922f93acf44fd33041f65d..20c54fbd25cbe295d0902b715da1e7daf5cf1bd9 100644 (file)
@@ -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;