summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-10 09:56:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:26 -0500
commitf210f7c4320bb253944193f2a96d4f6c0169214f (patch)
treef0c19f5137cccc9d31b62d5db54d326d31a634c4 /source3
parent9239b8e8d3f490ee1452820c61742f455d67e095 (diff)
downloadsamba-f210f7c4320bb253944193f2a96d4f6c0169214f.tar.gz
samba-f210f7c4320bb253944193f2a96d4f6c0169214f.tar.bz2
samba-f210f7c4320bb253944193f2a96d4f6c0169214f.zip
r24307: fill in choise with value -1 on error
as we've done before revision 24002 metze (This used to be commit 2961a35e90aae44c8560b1f4b56bfa6343c837d7)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/negprot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index 06b17a9a24..a28b2f3d4c 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -674,6 +674,7 @@ void reply_negprot(connection_struct *conn, struct smb_request *req)
DEBUG(3,("Selected protocol %s\n",supported_protocols[protocol].proto_name));
} else {
DEBUG(0,("No protocol supported !\n"));
+ SSVAL(outbuf,smb_vwv0,choice);
}
DEBUG( 5, ( "negprot index=%d\n", choice ) );