Date: Thu Sep 25 21:26:16 2003 Author: jra Update of /data/cvs/samba/source/rpcclient In directory dp.samba.org:/tmp/cvs-serv9172/rpcclient
Modified Files: Tag: SAMBA_3_0 cmd_spoolss.c Log Message: Fix for #480. Change the interface for init_unistr2 to not take a length but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. This is not the case. Count it after conversion. Jeremy. Revisions: cmd_spoolss.c 1.82.2.21 => 1.82.2.22 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpcclient/cmd_spoolss.c.diff?r1=1.82.2.21&r2=1.82.2.22