mirror of
https://github.com/lxsang/ant-http
synced 2025-07-24 01:29:48 +02:00
Fix bugs + inprovement
This commit is contained in:
@ -15,11 +15,11 @@ char* folder_list_from(const char* aPath)
|
||||
{
|
||||
for(list np = path; np != NULL; np=np->next)
|
||||
{
|
||||
route = __s("%s%s%s", route, DIR_SEP, np->e.value.s);
|
||||
route = __s("%s%s%s", route, DIR_SEP, np->value.s);
|
||||
if(flist == NULL)
|
||||
flist = __s(FOLLIST, np->e.value.s,route);
|
||||
flist = __s(FOLLIST, np->value.s,route);
|
||||
else
|
||||
flist = __s("%s,%s", flist,__s(FOLLIST,np->e.value.s,route));
|
||||
flist = __s("%s,%s", flist,__s(FOLLIST,np->value.s,route));
|
||||
}
|
||||
}
|
||||
free(path);
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user