fix .. in magiftpd
This commit is contained in:
parent
a16735e27c
commit
c5d4afbe7b
@ -76,6 +76,7 @@ static void parse_path(struct ftpclient *client, char *path, char **result) {
|
|||||||
pptr = pptr->prev;
|
pptr = pptr->prev;
|
||||||
free(pptr->next);
|
free(pptr->next);
|
||||||
pptr->next = NULL;
|
pptr->next = NULL;
|
||||||
|
pptr->data = NULL;
|
||||||
}
|
}
|
||||||
} else if (strcmp(ptr, ".") != 0) {
|
} else if (strcmp(ptr, ".") != 0) {
|
||||||
pptr->data = ptr;
|
pptr->data = ptr;
|
||||||
|
Reference in New Issue
Block a user