1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[protocol] const info

This commit is contained in:
Witold Filipczyk 2022-02-17 20:50:05 +01:00
parent 6ce61714a1
commit 37bd8a43f1

View File

@ -49,7 +49,7 @@ init_directory_listing(struct string *page, struct uri *uri)
struct string dirpath = NULL_STRING; struct string dirpath = NULL_STRING;
struct string decoded = NULL_STRING; struct string decoded = NULL_STRING;
struct string location = NULL_STRING; struct string location = NULL_STRING;
char *info; const char *info;
int local = (uri->protocol == PROTOCOL_FILE); int local = (uri->protocol == PROTOCOL_FILE);
if (!init_string(page) if (!init_string(page)