summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-30 21:25:46 +0000
committerTim Potter <tpot@samba.org>2001-12-30 21:25:46 +0000
commita4c612078fa85b5bd1e2f5dba19304b63b2b2a78 (patch)
treea9d05d9eae6a6927ac4e55cd7cb2b765aaad4610 /source3/rpcclient
parent0608a60390db336bf179564aefdf16c43f1793ad (diff)
downloadsamba-a4c612078fa85b5bd1e2f5dba19304b63b2b2a78.tar.gz
samba-a4c612078fa85b5bd1e2f5dba19304b63b2b2a78.tar.bz2
samba-a4c612078fa85b5bd1e2f5dba19304b63b2b2a78.zip
Unicode byte ording fix from Benjamin Kuit <bj@it.uts.edu.au>
(This used to be commit 6b7e9d03cf6093f1108642deddb0f8cc42e59067)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 1e521473d4..f36669a777 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -880,7 +880,7 @@ static BOOL init_drv_info_3_members (
}
for (i=0; i<len; i++)
{
- info->dependentfiles[i] = (uint16)str2[i];
+ info->dependentfiles[i] = SSVAL(&info->dependentfiles[i], 0, str2[i]);
}
info->dependentfiles[len] = '\0';