mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05: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:
|
||||
{
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user