[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4244-geb5323a
Jeremy Allison
jra at samba.org
Thu Oct 9 22:41:29 GMT 2008
The branch, v3-3-test has been updated
via eb5323a728e9df0be56b6f73a127aed011b250d0 (commit)
from 5e77ccaa866d422e56c28af610692b8167d630e8 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit eb5323a728e9df0be56b6f73a127aed011b250d0
Author: Jeremy Allison <jra at samba.org>
Date: Thu Oct 9 15:40:30 2008 -0700
Ensure we handle signals correctly during the async calls.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/async_smb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/async_smb.c b/source/libsmb/async_smb.c
index 9346264..935ae47 100644
--- a/source/libsmb/async_smb.c
+++ b/source/libsmb/async_smb.c
@@ -360,7 +360,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);
@@ -404,7 +404,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