tweaks: rename a function and elide its first parameter

This commit is contained in:
Benno Schulenberg
2019-10-14 19:51:24 +02:00
parent 46566572d6
commit 17c16a4bf5
6 changed files with 19 additions and 13 deletions

View File

@@ -2243,7 +2243,7 @@ char *real_dir_from_tilde(const char *path)
#ifdef HAVE_PWD_H
const struct passwd *userdata;
tilded = mallocstrncpy(NULL, path, i + 1);
tilded = measured_copy(path, i + 1);
tilded[i] = '\0';
do {