no [] initializers

This commit is contained in:
rsc 2005-07-13 03:52:37 +00:00
parent d7d96fb3e2
commit d82651b8fd

View file

@ -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