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;
|
||||
int (*f)(URL*, URL*, Range*, Out*, long);
|
||||
} method[] = {
|
||||
[Http] { "http", dohttp },
|
||||
[Https] { "https", dohttp },
|
||||
[Ftp] { "ftp", doftp },
|
||||
[Other] { "_______", nil },
|
||||
{ "http", dohttp },
|
||||
{ "https", dohttp },
|
||||
{ "ftp", doftp },
|
||||
{ "_______", nil },
|
||||
};
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue