From: Volker Lendecke Date: Wed, 14 Oct 2009 15:04:52 +0000 (-0400) Subject: Attempt to fix the build -- jlayton, please check! X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=223bee1fc5f655adb61db603a5423c8bf4a5f582;p=thirdparty%2Fsamba.git Attempt to fix the build -- jlayton, please check! --- diff --git a/source/client/cifs.upcall.c b/source/client/cifs.upcall.c index e844249fbd5..2e20686cda2 100644 --- a/source/client/cifs.upcall.c +++ b/source/client/cifs.upcall.c @@ -80,7 +80,7 @@ get_krb5_ccname(pid_t pid) } p += 11; left -= 11; - value = strndup(p, left); + value = SMB_STRNDUP(p, left); break; } return value;