Author: vlendec Date: 2004-09-03 13:21:52 +0000 (Fri, 03 Sep 2004) New Revision: 2208
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/librpc/ndr&rev=2208&nolog=1 Log: little attempt to (almost) fix spoolss relative Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c Changeset: Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c =================================================================== --- branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2004-09-03 13:20:31 UTC (rev 2207) +++ branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2004-09-03 13:21:52 UTC (rev 2208) @@ -663,7 +663,7 @@ { 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); }