no [] initializers
This commit is contained in:
parent
d7d96fb3e2
commit
d82651b8fd
1 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue