git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bfd6edb
)
librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 17 Feb 2010 18:59:19 +0000
(19:59 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 18 Feb 2010 12:44:00 +0000
(13:44 +0100)
metze
librpc/ndr/ndr_drsblobs.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_drsblobs.c
b/librpc/ndr/ndr_drsblobs.c
index 741bf71191ed132e4a64379981dc4fbb726f53ea..9b55c5d5e1ebe871461f6d11f7d9b0bbdd906ae4 100644
(file)
--- a/
librpc/ndr/ndr_drsblobs.c
+++ b/
librpc/ndr/ndr_drsblobs.c
@@
-97,12
+97,14
@@
_PUBLIC_ enum ndr_err_code ndr_push_trustAuthInOutBlob(struct ndr_push *ndr, int
}
if (ndr_flags & NDR_BUFFERS) {
if (r->current) {
}
if (ndr_flags & NDR_BUFFERS) {
if (r->current) {
- NDR_CHECK(ndr_push_relative_ptr2(ndr, r->current));
+ NDR_CHECK(ndr_push_relative_ptr2
_start
(ndr, r->current));
NDR_CHECK(ndr_push_AuthenticationInformationArray_with_count(ndr, NDR_SCALARS|NDR_BUFFERS, r->count, r->current));
NDR_CHECK(ndr_push_AuthenticationInformationArray_with_count(ndr, NDR_SCALARS|NDR_BUFFERS, r->count, r->current));
+ NDR_CHECK(ndr_push_relative_ptr2_end(ndr, r->current));
}
if (r->previous) {
}
if (r->previous) {
- NDR_CHECK(ndr_push_relative_ptr2(ndr, r->previous));
+ NDR_CHECK(ndr_push_relative_ptr2
_start
(ndr, r->previous));
NDR_CHECK(ndr_push_AuthenticationInformationArray_with_count(ndr, NDR_SCALARS|NDR_BUFFERS, r->count, r->previous));
NDR_CHECK(ndr_push_AuthenticationInformationArray_with_count(ndr, NDR_SCALARS|NDR_BUFFERS, r->count, r->previous));
+ NDR_CHECK(ndr_push_relative_ptr2_end(ndr, r->previous));
}
}
return NDR_ERR_SUCCESS;
}
}
return NDR_ERR_SUCCESS;