summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-02-21 20:00:46 +0000
committerGerald Carter <jerry@samba.org>2003-02-21 20:00:46 +0000
commit3d730f89cf3c30d8b17f0d35d2cdf28db53296e2 (patch)
tree07b39b97c4904be47087f4bf083e6d53cd69dd7e /source3
parentab985b983f45a284b2ee9fdd08801989574edf4b (diff)
downloadsamba-3d730f89cf3c30d8b17f0d35d2cdf28db53296e2.tar.gz
samba-3d730f89cf3c30d8b17f0d35d2cdf28db53296e2.tar.bz2
samba-3d730f89cf3c30d8b17f0d35d2cdf28db53296e2.zip
i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/
(This used to be commit 513fb2ddd85a74de7684a6cb09d57011af69161f)
Diffstat (limited to 'source3')
-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 4c87d0f73d..93566c2bb7 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;