diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-09-03 13:21:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:31 -0500 |
commit | 0b01bdf9a3ae05a990574577c8dffa63e882d65c (patch) | |
tree | 8c945bde24af04091f9d883a4f56fb218645ed23 /source4/librpc | |
parent | 5f6c0b6c8cd2db9cd5a93dcdd2697be2a7acf6c5 (diff) | |
download | samba-0b01bdf9a3ae05a990574577c8dffa63e882d65c.tar.gz samba-0b01bdf9a3ae05a990574577c8dffa63e882d65c.tar.bz2 samba-0b01bdf9a3ae05a990574577c8dffa63e882d65c.zip |
r2208: little attempt to (almost) fix spoolss relative
(This used to be commit ef5414676ea07004aaa78d5f4c1746b3c8669d16)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/ndr/ndr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c index 020ebb689c..e2e760140a 100644 --- a/source4/librpc/ndr/ndr.c +++ b/source4/librpc/ndr/ndr.c @@ -663,7 +663,7 @@ NTSTATUS ndr_pull_relative1(struct ndr_pull *ndr, const void *p, uint32_t rel_of { if (ndr->flags & LIBNDR_FLAG_RELATIVE_CURRENT) { return ndr_token_store(ndr, &ndr->relative_list, p, - rel_offset + ndr->offset); + rel_offset + ndr->offset - 4); } else { return ndr_token_store(ndr, &ndr->relative_list, p, rel_offset); } |