summaryrefslogtreecommitdiff
path: root/cifs.upcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'cifs.upcall.c')
-rw-r--r--cifs.upcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cifs.upcall.c b/cifs.upcall.c
index b83c36f..eb2279a 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -220,7 +220,7 @@ find_krb5_cc(const char *dirname, uid_t uid)
syslog(LOG_DEBUG, "%s: %s is valid ccache", __func__, ccname);
free(best_cache);
- best_cache = SMB_STRNDUP(ccname, MAX_CCNAME_LEN);
+ best_cache = strndup(ccname, MAX_CCNAME_LEN);
best_time = cred_time;
free(namelist[i]);
}