mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[gopher] const format
This commit is contained in:
parent
a576245561
commit
8e6808b640
@ -520,7 +520,7 @@ add_gopher_menu_line(struct string *buffer, char *line)
|
|||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
struct string address;
|
struct string address;
|
||||||
char *format = selector && *selector
|
const char *format = selector && *selector
|
||||||
? "%s://%s@%s/" : "%s://%s%s/";
|
? "%s://%s@%s/" : "%s://%s%s/";
|
||||||
|
|
||||||
/* If port is defined it means that both @selector and @host
|
/* If port is defined it means that both @selector and @host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user