summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-03-24 16:46:07 +0100
committerJeremy Allison <jra@samba.org>2014-03-24 19:45:12 +0100
commit11054a699a666bc35a46c3f0c2df4fb1ae660aa8 (patch)
tree982be8a3ad71dddc462ce60e1a39ae2a72b7ff24 /librpc
parent74b359c61686c1a940ec76ad4459fabc403a8715 (diff)
downloadsamba-11054a699a666bc35a46c3f0c2df4fb1ae660aa8.tar.gz
samba-11054a699a666bc35a46c3f0c2df4fb1ae660aa8.tar.xz
samba-11054a699a666bc35a46c3f0c2df4fb1ae660aa8.zip
librpc: dump correct ndr_syntax_id on VT check failure
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/dcerpc_util.c2
1 files changed, 1 insertions, 1 deletions
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; \
} \