1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/

This commit is contained in:
Gerald Carter -
parent fde6ef7cc6
commit 513fb2ddd8

View File

@ -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;