1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

s4:auth/gensec: fix declaration after code warning in gensec_tstream.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-02-26 20:16:26 +01:00 committed by Andrew Bartlett
parent 04c8c65e4c
commit 876f0e03de

View File

@ -247,9 +247,10 @@ static int tstream_gensec_readv_next_vector(struct tstream_context *unix_stream,
vector[0].iov_base = (char *)state->wrapped.hdr;
vector[0].iov_len = sizeof(state->wrapped.hdr);
} else if (!state->wrapped.asked_for_blob) {
state->wrapped.asked_for_blob = true;
uint32_t msg_len;
state->wrapped.asked_for_blob = true;
msg_len = RIVAL(state->wrapped.hdr, 0);
if (msg_len > 0x00FFFFFF) {