git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839f6e5
)
TODO testing librpc/ndr: let ndr_set_flags() clear all LIBNDR_ALIGN_FLAGS, if we...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Sep 2011 15:48:44 +0000
(17:48 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Sep 2011 15:50:00 +0000
(17:50 +0200)
metze
librpc/ndr/ndr.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr.c
b/librpc/ndr/ndr.c
index 7cb6e214ba3aa0fc5c15e45088aebb49305061ef..613780515e310f3313beda8f5434cb3110de7b01 100644
(file)
--- a/
librpc/ndr/ndr.c
+++ b/
librpc/ndr/ndr.c
@@
-381,7
+381,7
@@
_PUBLIC_ void ndr_set_flags(uint32_t *pflags, uint32_t new_flags)
(*pflags) &= ~LIBNDR_ALIGN_FLAGS;
}
if (new_flags & LIBNDR_ALIGN_FLAGS) {
- (*pflags) &= ~
LIBNDR_FLAG_REMAINING
;
+ (*pflags) &= ~
(LIBNDR_FLAG_REMAINING|LIBNDR_ALIGN_FLAGS)
;
}
if (new_flags & LIBNDR_FLAG_NO_RELATIVE_REVERSE) {
(*pflags) &= ~LIBNDR_FLAG_RELATIVE_REVERSE;