summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-02 14:25:31 +0100
committerGünther Deschner <gd@samba.org>2009-12-02 14:56:17 +0100
commit5f60855ba2eb822dcb867378ff09278c42931b89 (patch)
treee1d8ba7df8711f464e3c61a4adc7f41a7f146abe /source3/rpc_server
parent292af4fc046ff39ebd3ec853c402dc267a863fa6 (diff)
downloadsamba-5f60855ba2eb822dcb867378ff09278c42931b89.tar.gz
samba-5f60855ba2eb822dcb867378ff09278c42931b89.tar.bz2
samba-5f60855ba2eb822dcb867378ff09278c42931b89.zip
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index d74204800a..4a3f07f849 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -9157,7 +9157,7 @@ WERROR _spoolss_EnumPrinterKey(pipes_struct *p,
result = WERR_MORE_DATA;
} else {
result = WERR_OK;
- memcpy(r->out.key_buffer, blob.data, blob.length);
+ r->out.key_buffer->string = array;
}
done: