plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit d82651b8fd742fb5b55190190b6bf8751cc022e6
parent d7d96fb3e2305808c452c4d4d8d02b9acce4e64e
Author: rsc <devnull@localhost>
Date:   Wed, 13 Jul 2005 03:52:37 +0000

no [] initializers

Diffstat:
Msrc/cmd/hget.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cmd/hget.c b/src/cmd/hget.c @@ -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