Lines Matching refs:root_path
124 char *root_path = NULL;
126 root_path = my_str_malloc(512);
131 sprintf(root_path,"%s",path);
135 snprintf(root_path,strlen(path)-strlen(temp)+1,"%s",path);
140 if(!strcmp(root_path,ftp_config.multrule[i]->base_path))
143 DEBUG("get_path_to_index root_path = %s\t%d\n",root_path,i);
145 free(root_path);
1276 char *root_path = NULL;
1281 root_path = my_str_malloc(512);
1282 sprintf(root_path,"%s",temp);
1290 root_path = my_str_malloc(512);
1294 sprintf(root_path,"%s",path);
1298 snprintf(root_path,strlen(path)-strlen(temp) + 1,"%s",path);
1301 //DEBUG("get_socket_base_path root_path = %s\n",root_path);
1302 return root_path;