|
@@ -133,7 +133,7 @@ char resolved_path[];
|
|
/* Make sure it's null terminated. */
|
|
/* Make sure it's null terminated. */
|
|
*new_path = '\0';
|
|
*new_path = '\0';
|
|
strcpy(resolved_path, got_path);
|
|
strcpy(resolved_path, got_path);
|
|
- return resolved_path;
|
|
|
|
|
|
+ return NULL;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
/* Note: readlink doesn't add the null byte. */
|
|
/* Note: readlink doesn't add the null byte. */
|