summaryrefslogtreecommitdiffstats
path: root/source/smbd/negprot.c
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
commit2961a35e90aae44c8560b1f4b56bfa6343c837d7 (patch)
tree92fd41d1ddac7eb3765712cbd4857181fe5ccb42 /source/smbd/negprot.c
parent4154bee0d91dd2ace9a7a627418f652d0d11b959 (diff)
downloadsamba-2961a35e90aae44c8560b1f4b56bfa6343c837d7.tar.gz
samba-2961a35e90aae44c8560b1f4b56bfa6343c837d7.tar.xz
samba-2961a35e90aae44c8560b1f4b56bfa6343c837d7.zip
r24307: fill in choise with value -1 on error
as we've done before revision 24002 metze
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r--source/smbd/negprot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c
index 06b17a9a241..a28b2f3d4cf 100644
--- a/source/smbd/negprot.c
+++ b/source/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 ) );