Fix MODE=optlinux build

This commit is contained in:
Justine Tunney 2024-02-20 14:24:56 -08:00
parent b3bb93d1d9
commit 4d018306b3
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -145,7 +145,7 @@ struct totals listdir(char *dirname, struct _info **dir, int lev, dev_t dev, boo
int namemax = 257, namelen; int namemax = 257, namelen;
int descend, htmldescend = 0, found, n, dirlen = strlen(dirname), pathlen = dirlen + 257; int descend, htmldescend = 0, found, n, dirlen = strlen(dirname), pathlen = dirlen + 257;
int needsclosed; int needsclosed;
char *path, *newpath, *filename, *err = NULL; char *path, *newpath = NULL, *filename, *err = NULL;
int es = (dirname[strlen(dirname) - 1] == '/'); int es = (dirname[strlen(dirname) - 1] == '/');