Searched refs:homelen (Results 1 – 1 of 1) sorted by relevance
432 size_t homelen = strlen(homedir); in ssh_getworkingpath() local433 real_path = malloc(homelen + working_path_len + 1); in ssh_getworkingpath()440 memcpy(real_path, homedir, homelen); in ssh_getworkingpath()441 real_path[homelen] = '/'; in ssh_getworkingpath()442 real_path[homelen+1] = '\0'; in ssh_getworkingpath()444 memcpy(real_path+homelen+1, working_path + 3, in ssh_getworkingpath()