From 9f2abd958938ff18fa69be847c5ca64a0c4c177a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 17 Nov 2011 23:15:18 +0100 Subject: [PATCH] TODO fix ndr_set_flags... --- librpc/ndr/ndr.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index 7cb6e21..2acf95f 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -381,6 +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_ALIGN_FLAGS; (*pflags) &= ~LIBNDR_FLAG_REMAINING; } if (new_flags & LIBNDR_FLAG_NO_RELATIVE_REVERSE) { -- 1.7.4.1