[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1005-ge9569ae

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Apr 13 07:36:54 GMT 2009


On Mon, Apr 13, 2009 at 03:52:17PM +1000, Andrew Bartlett wrote:
> > -		if (!convert_string_allocate(NULL, CH_UNIX, CH_UTF16LE,
> > +		if (!convert_string_allocate(talloc_tos(), CH_UNIX, CH_UTF16LE,
> >  			c->name, strlen(c->name)+1, &uni_name.buffer,
> >  			&namelen, True) || (uni_name.buffer == NULL)) {
> >  			goto fail;
> 
> Why not use convert_string_talloc() (which does exist in Samba3, even
> without my recent work)? 

Done, thanks!

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090413/d32c3de5/attachment.bin


More information about the samba-technical mailing list