no [] initializers
This commit is contained in:
parent
d7d96fb3e2
commit
d82651b8fd
@ -84,10 +84,10 @@ struct {
|
|||||||
char *name;
|
char *name;
|
||||||
int (*f)(URL*, URL*, Range*, Out*, long);
|
int (*f)(URL*, URL*, Range*, Out*, long);
|
||||||
} method[] = {
|
} method[] = {
|
||||||
[Http] { "http", dohttp },
|
{ "http", dohttp },
|
||||||
[Https] { "https", dohttp },
|
{ "https", dohttp },
|
||||||
[Ftp] { "ftp", doftp },
|
{ "ftp", doftp },
|
||||||
[Other] { "_______", nil },
|
{ "_______", nil },
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user