]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Attempt to fix the build -- jlayton, please check!
authorVolker Lendecke <vl@samba.org>
Wed, 14 Oct 2009 15:04:52 +0000 (11:04 -0400)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2010 13:00:49 +0000 (14:00 +0100)
(cherry picked from commit 223bee1fc5f655adb61db603a5423c8bf4a5f582)

source/client/cifs.upcall.c

index e844249fbd5e056c3b75833f5199cc83c3902dbd..2e20686cda2ed17fee81ce04192f8890844432a1 100644 (file)
@@ -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;