summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-21 19:02:07 +0000
committerGerald Carter <jerry@samba.org>2003-02-21 19:02:07 +0000
commitde6a2d154e0e863a7628f18cca8fdcaa49d9c0ff (patch)
tree57648b3fb84800cb84f46f6c40279429586f0480
parent3fc90ea1d9b11186f26484516a4dd8502b6d7323 (diff)
downloadsamba-de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff.tar.gz
samba-de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff.tar.xz
samba-de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff.zip
s/unistr2_to_dos/unistr2_to_ascii/ to fix compile
-rw-r--r--source/rpc_server/srv_spoolss_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c
index 64dfef2f9e2..3605c1a24df 100644
--- a/source/rpc_server/srv_spoolss_nt.c
+++ b/source/rpc_server/srv_spoolss_nt.c
@@ -8889,7 +8889,7 @@ WERROR _spoolss_enumprinterdataex(pipes_struct *p, SPOOL_Q_ENUMPRINTERDATAEX *q_
* --jerry
*/
- unistr2_to_dos(key, &q_u->key, sizeof(key) - 1);
+ unistr2_to_ascii(key, &q_u->key, sizeof(key) - 1);
if ( !strlen(key) ) {
result = WERR_INVALID_PARAM;
goto done;