Searched refs:new_path (Results 1 – 1 of 1) sorted by relevance
635 char new_path[PATH_MAX]; in browse_directory() local636 strlcpy(new_path, path, PATH_MAX); in browse_directory()637 strlcat(new_path, "/", PATH_MAX); in browse_directory()638 strlcat(new_path, item, PATH_MAX); in browse_directory()642 new_path[strlen(new_path)-1] = '\0'; // truncate the trailing '/' in browse_directory()643 result = browse_directory(new_path, device); in browse_directory()647 result = strdup(new_path); in browse_directory()