summaryrefslogtreecommitdiffstats
path: root/source/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
commit6b7e9d03cf6093f1108642deddb0f8cc42e59067 (patch)
treee0a064802ee21f4017844a83012af1f3f0d10c59 /source/rpcclient
parent49f5cb7a3df6d673f86e6769319aa657e30d8380 (diff)
downloadsamba-6b7e9d03cf6093f1108642deddb0f8cc42e59067.tar.gz
samba-6b7e9d03cf6093f1108642deddb0f8cc42e59067.tar.xz
samba-6b7e9d03cf6093f1108642deddb0f8cc42e59067.zip
Unicode byte ording fix from Benjamin Kuit <bj@it.uts.edu.au>
Diffstat (limited to 'source/rpcclient')
-rw-r--r--source/rpcclient/cmd_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_spoolss.c b/source/rpcclient/cmd_spoolss.c
index 1e521473d40..f36669a7773 100644
--- a/source/rpcclient/cmd_spoolss.c
+++ b/source/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';