[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3174-ge2f699a
Jeremy Allison
jra at samba.org
Fri Nov 21 19:07:42 GMT 2008
The branch, v3-2-test has been updated
via e2f699a5d1a2415ce37c052bf24bbecf0d41bae7 (commit)
from 1f36db34d7483614e1a4d6d5f3437205bcb20541 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit e2f699a5d1a2415ce37c052bf24bbecf0d41bae7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Nov 21 11:06:33 2008 -0800
Ensure we always reply in reply_printopen().
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/reply.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index f78e8bd..9538a72 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -4599,7 +4599,7 @@ void reply_printopen(struct smb_request *req)
connection_struct *conn = req->conn;
files_struct *fsp;
NTSTATUS status;
-
+
START_PROFILE(SMBsplopen);
if (req->wct < 2) {
@@ -4616,6 +4616,7 @@ void reply_printopen(struct smb_request *req)
status = file_new(conn, &fsp);
if(!NT_STATUS_IS_OK(status)) {
+ reply_nterror(req, status);
END_PROFILE(SMBsplopen);
return;
}
@@ -4632,7 +4633,7 @@ void reply_printopen(struct smb_request *req)
reply_outbuf(req, 1, 0);
SSVAL(req->outbuf,smb_vwv0,fsp->fnum);
-
+
DEBUG(3,("openprint fd=%d fnum=%d\n",
fsp->fh->fd, fsp->fnum));
--
Samba Shared Repository
More information about the samba-cvs
mailing list