From 11054a699a666bc35a46c3f0c2df4fb1ae660aa8 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Mon, 24 Mar 2014 16:46:07 +0100 Subject: [PATCH] librpc: dump correct ndr_syntax_id on VT check failure Signed-off-by: David Disseldorp Reviewed-by: Jeremy Allison --- librpc/rpc/dcerpc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librpc/rpc/dcerpc_util.c b/librpc/rpc/dcerpc_util.c index 792848fbd91..b5810ee0b74 100644 --- a/librpc/rpc/dcerpc_util.c +++ b/librpc/rpc/dcerpc_util.c @@ -527,7 +527,7 @@ do { \ TALLOC_CTX *frame = talloc_stackframe(); \ DEBUG(10, ("SEC_VT check %s failed: %s vs. %s\n", msg, \ ndr_syntax_id_to_string(frame, &s1), \ - ndr_syntax_id_to_string(frame, &s1))); \ + ndr_syntax_id_to_string(frame, &s2))); \ TALLOC_FREE(frame); \ return false; \ } \