summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-06-16 12:44:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:43 -0500
commit2130a1bbe713f4377aa67361fe38deb9227367a9 (patch)
tree8337ac6e07cfeb4b87089618e50aa959366caab2 /source4/rpc_server
parent9517834e64340333cb3f3403bf2535e7bc147947 (diff)
downloadsamba-2130a1bbe713f4377aa67361fe38deb9227367a9.tar.gz
samba-2130a1bbe713f4377aa67361fe38deb9227367a9.tar.bz2
samba-2130a1bbe713f4377aa67361fe38deb9227367a9.zip
r1168: fixed a little-endian/big-endian mixup in the rpc server code
(This used to be commit 9b397356ae1daa7bc1984e196020ea62725f542c)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcesrv_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c
index 6d08cca5fc..26053b47b9 100644
--- a/source4/rpc_server/dcesrv_auth.c
+++ b/source4/rpc_server/dcesrv_auth.c
@@ -228,7 +228,7 @@ BOOL dcesrv_auth_response(struct dcesrv_call_state *call,
return False;
}
- if (pkt->drep[0] & DCERPC_DREP_LE) {
+ if (!(pkt->drep[0] & DCERPC_DREP_LE)) {
ndr->flags |= LIBNDR_FLAG_BIGENDIAN;
}