diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-24 20:10:20 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-24 21:06:41 +0200 |
commit | 1808dd0a854f0cf95718da28a9fc58134af04d83 (patch) | |
tree | eb825053171250b440077aabb47a64a4cbf8aa31 /source3/smbd/blocking.c | |
parent | aa830cde6a44187149c207085acdb75fe4e8e343 (diff) | |
download | samba-1808dd0a854f0cf95718da28a9fc58134af04d83.tar.gz samba-1808dd0a854f0cf95718da28a9fc58134af04d83.tar.xz samba-1808dd0a854f0cf95718da28a9fc58134af04d83.zip |
s3: Make srv_send_smb take an sconn instead of a sock fd
Diffstat (limited to 'source3/smbd/blocking.c')
-rw-r--r-- | source3/smbd/blocking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index ee5096351c..7a73ea9cca 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -312,7 +312,7 @@ static void generic_blocking_lock_error(struct blocking_lock_record *blr, NTSTAT } reply_nterror(blr->req, status); - if (!srv_send_smb(blr->req->sconn->sock, (char *)blr->req->outbuf, + if (!srv_send_smb(blr->req->sconn, (char *)blr->req->outbuf, true, blr->req->seqnum+1, blr->req->encrypted, NULL)) { exit_server_cleanly("generic_blocking_lock_error: srv_send_smb failed."); @@ -395,7 +395,7 @@ static void blocking_lock_reply_error(struct blocking_lock_record *blr, NTSTATUS */ SCVAL(blr->req->outbuf,smb_com,SMBtrans2); - if (!srv_send_smb(blr->req->sconn->sock, + if (!srv_send_smb(blr->req->sconn, (char *)blr->req->outbuf, true, blr->req->seqnum+1, IS_CONN_ENCRYPTED(blr->fsp->conn), |