mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[about] const
This commit is contained in:
parent
141c7c2896
commit
a86f992c42
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
#ifndef CONFIG_SMALL
|
#ifndef CONFIG_SMALL
|
||||||
struct about_page {
|
struct about_page {
|
||||||
char *name;
|
const char *name;
|
||||||
char *string;
|
const char *string;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct about_page about_pages[] = {
|
static const struct about_page about_pages[] = {
|
||||||
@ -117,7 +117,7 @@ about_protocol_handler(struct connection *conn)
|
|||||||
|
|
||||||
for (; page->name; page++) {
|
for (; page->name; page++) {
|
||||||
int len;
|
int len;
|
||||||
char *str;
|
const char *str;
|
||||||
|
|
||||||
if (strcmp(conn->uri->data, page->name))
|
if (strcmp(conn->uri->data, page->name))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user