View | Details | Raw Unified | Return to bug 90815 | Differences between
and this patch

Collapse All | Expand All

(-)sys/netsmb/smb_subr.c (-1 / +4 lines)
Lines 323-329 Link Here
323
{
323
{
324
	size_t outlen = len;
324
	size_t outlen = len;
325
325
326
	return iconv_conv((struct iconv_drv*)mbp->mb_udata, &src, &len, &dst, &outlen);
326
	if (iconv_conv((struct iconv_drv*)mbp->mb_udata,
327
	    &src, &len, &dst, &outlen) == -1)
328
		bcopy(src, dst, len);
329
	return 0;
327
}
330
}
328
331
329
int
332
int

Return to bug 90815