[SCM] Samba Shared Repository - branch master updated -
decd04d946287729866f6b43648d34650211b073
Jeremy Allison
jra at samba.org
Thu Oct 9 22:41:33 GMT 2008
The branch, master has been updated
via decd04d946287729866f6b43648d34650211b073 (commit)
from e5692d4cbe70dc4f2aba88db4fa3b68c572c6142 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit decd04d946287729866f6b43648d34650211b073
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 9 15:40:00 2008 -0700
Ensure we handle signals correctly during the async calls.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/async_smb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index fb35ecb..6849507 100644
--- a/source3/libsmb/async_smb.c
+++ b/source3/libsmb/async_smb.c
@@ -924,7 +924,7 @@ static void cli_state_handler(struct event_context *event_ctx,
}
cli->evt_inbuf = tmp;
- res = recv(cli->fd, cli->evt_inbuf + old_size, available, 0);
+ res = sys_recv(cli->fd, cli->evt_inbuf + old_size, available, 0);
if (res == -1) {
DEBUG(10, ("recv failed: %s\n", strerror(errno)));
status = map_nt_error_from_unix(errno);
@@ -970,7 +970,7 @@ static void cli_state_handler(struct event_context *event_ctx,
return;
}
- sent = send(cli->fd, req->outbuf + req->sent,
+ sent = sys_send(cli->fd, req->outbuf + req->sent,
to_send - req->sent, 0);
if (sent < 0) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list