1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[gopher] const format

This commit is contained in:
Witold Filipczyk 2022-02-21 17:15:48 +01:00
parent a576245561
commit 8e6808b640

View File

@ -520,7 +520,7 @@ add_gopher_menu_line(struct string *buffer, char *line)
default:
{
struct string address;
char *format = selector && *selector
const char *format = selector && *selector
? "%s://%s@%s/" : "%s://%s%s/";
/* If port is defined it means that both @selector and @host