summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-14 11:04:52 -0400
committerKarolin Seeger <kseeger@samba.org>2010-01-13 14:00:49 +0100
commit098781a405af31e4bd8a6fc3ffaebc652f075f98 (patch)
treec36ae771cb756fc6c2ae53ae12366ed11c9d4e23
parentb681b97e7182dcfe6a6dc13271ccfec6e5d1a493 (diff)
downloadsamba-098781a405af31e4bd8a6fc3ffaebc652f075f98.tar.gz
samba-098781a405af31e4bd8a6fc3ffaebc652f075f98.tar.xz
samba-098781a405af31e4bd8a6fc3ffaebc652f075f98.zip
Attempt to fix the build -- jlayton, please check!
(cherry picked from commit 223bee1fc5f655adb61db603a5423c8bf4a5f582)
-rw-r--r--source/client/cifs.upcall.c2
1 files changed, 1 insertions, 1 deletions
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;