dir_setlasterr: strcpy the right variable
Этот коммит содержится в:
родитель
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);
|
||||
}
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user