From 2342d8d492f3af302c7d23ab07aea994b4c5fb3c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Oct 2009 10:42:46 -0400 Subject: [PATCH] Attempt to fix the build -- jlayton, please check! (cherry picked from commit 78b53b878a7871ea0ef311317da561008ad07e08) --- source3/client/cifs.upcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/client/cifs.upcall.c b/source3/client/cifs.upcall.c index e844249fbd5..2e20686cda2 100644 --- a/source3/client/cifs.upcall.c +++ b/source3/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; -- 2.11.4.GIT