summaryrefslogtreecommitdiff
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
commit01490bc0d254380f9bf3ab1f8dc3d98b8c0e723e (patch)
tree96e8c8ef1e4cc8c38163ab97bcc23a603ecf3e81
parent380635538b442ee4de4d7e1242125acd5eb815fd (diff)
downloadsamba-01490bc0d254380f9bf3ab1f8dc3d98b8c0e723e.tar.gz
samba-01490bc0d254380f9bf3ab1f8dc3d98b8c0e723e.tar.bz2
samba-01490bc0d254380f9bf3ab1f8dc3d98b8c0e723e.zip
s/unistr2_to_dos/unistr2_to_ascii/ to fix compile
(This used to be commit de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff)
-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 64dfef2f9e..3605c1a24d 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/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;