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

[cmdline] remote_methods const char *

This commit is contained in:
Witold Filipczyk 2022-01-30 14:24:52 +01:00
parent 59f00b6545
commit 0563cf3418

View File

@ -238,7 +238,7 @@ enum remote_method_enum {
};
struct remote_method {
char *name;
const char *name;
enum remote_method_enum type;
};
@ -353,7 +353,7 @@ remote_cmd(struct option *o, char ***argv, int *argc)
} while (*arg);
for (method = 0; remote_methods[method].name; method++) {
char *name = remote_methods[method].name;
const char *name = remote_methods[method].name;
if (!c_strlcasecmp(command, len, name, -1))
break;