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:
08e0627
)
TODO testing librpc/ndr: include LIBNDR_FLAG_NOALIGN in LIBNDR_ALIGN_FLAGS
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Sep 2011 15:47:04 +0000
(17:47 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Sep 2011 15:50:00 +0000
(17:50 +0200)
This lets ndr_push/pull_DATA_BLOB() work as expected.
metze
librpc/ndr/libndr.h
patch
|
blob
|
history
diff --git
a/librpc/ndr/libndr.h
b/librpc/ndr/libndr.h
index c8edfdac39374aebbf94bd18996eac1d3aa967f0..868dae7b281ca21c6e827344999e09e7256bb726 100644
(file)
--- a/
librpc/ndr/libndr.h
+++ b/
librpc/ndr/libndr.h
@@
-135,7
+135,7
@@
struct ndr_print {
#define LIBNDR_FLAG_ALIGN4 (1<<23)
#define LIBNDR_FLAG_ALIGN8 (1<<24)
-#define LIBNDR_ALIGN_FLAGS (LIBNDR_FLAG_ALIGN2|LIBNDR_FLAG_ALIGN4|LIBNDR_FLAG_ALIGN8)
+#define LIBNDR_ALIGN_FLAGS (LIBNDR_FLAG_ALIGN2|LIBNDR_FLAG_ALIGN4|LIBNDR_FLAG_ALIGN8
|LIBNDR_FLAG_NOALIGN
)
#define LIBNDR_PRINT_ARRAY_HEX (1<<25)
#define LIBNDR_PRINT_SET_VALUES (1<<26)