diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-01-01 06:33:25 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-01-01 06:33:25 +0100 |
commit | ce47b69d8e318bbb3642d27aa0451e2914c92be7 (patch) | |
tree | d35b3db84bc08d603a0a50d52762061afbebda17 /source4/librpc | |
parent | 08259c1c52a9921de6fba08939130698b474f382 (diff) | |
download | samba-ce47b69d8e318bbb3642d27aa0451e2914c92be7.tar.gz samba-ce47b69d8e318bbb3642d27aa0451e2914c92be7.tar.bz2 samba-ce47b69d8e318bbb3642d27aa0451e2914c92be7.zip |
Fix syntax errors.
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/winsrepl.idl | 2 | ||||
-rw-r--r-- | source4/librpc/ndr/ndr_spoolss_buf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/idl/winsrepl.idl b/source4/librpc/idl/winsrepl.idl index 13432d86f6..0ec05e891c 100644 --- a/source4/librpc/idl/winsrepl.idl +++ b/source4/librpc/idl/winsrepl.idl @@ -164,7 +164,7 @@ interface wrepl } wrepl_packet; typedef [flag(NDR_BIG_ENDIAN|NDR_PAHEX),public] struct { - [value(ndr_size_wrepl_packet(&packet, ndr->flags))] uint32 size; + [value(ndr_size_wrepl_packet(&packet, ndr->iconv_convenience, ndr->flags))] uint32 size; wrepl_packet packet; } wrepl_wrap; diff --git a/source4/librpc/ndr/ndr_spoolss_buf.c b/source4/librpc/ndr/ndr_spoolss_buf.c index f42e3678b0..335275f680 100644 --- a/source4/librpc/ndr/ndr_spoolss_buf.c +++ b/source4/librpc/ndr/ndr_spoolss_buf.c @@ -525,8 +525,8 @@ enum ndr_err_code ndr_push_spoolss_SetPrinterData(struct ndr_push *ndr, int flag return NDR_ERR_SUCCESS; } -uint32_t _ndr_size_spoolss_DeviceMode(struct spoolss_DeviceMode *devmode, uint32_t flags) +uint32_t _ndr_size_spoolss_DeviceMode(struct spoolss_DeviceMode *devmode, struct smb_iconv_convenience *ic, uint32_t flags) { if (!devmode) return 0; - return ndr_size_spoolss_DeviceMode(devmode,flags); + return ndr_size_spoolss_DeviceMode(devmode,ic,flags); } |