1
1

dir_setlasterr: strcpy the right variable

Этот коммит содержится в:
Martin Storsjö 2019-02-18 14:09:13 +02:00
родитель b6ddd491b3
Коммит 8e021a46ee

Просмотреть файл

@ -87,7 +87,7 @@ void dir_setlasterr(const char *path) {
lasterrl = req;
lasterr = realloc(lasterr, lasterrl);
}
strcpy(lasterr, dir_curpath);
strcpy(lasterr, path);
}