[PATCH 1/4] librpc: dump correct ndr_syntax_id on VT check failure

David Disseldorp ddiss at samba.org
Mon Mar 24 09:46:07 MDT 2014


Signed-off-by: David Disseldorp <ddiss at samba.org>
---
 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 792848f..b5810ee 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;						\
 	}								\
-- 
1.8.4.5



More information about the samba-technical mailing list