diff options
author | rsc <devnull@localhost> | 2005-07-13 03:52:37 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-13 03:52:37 +0000 |
commit | d82651b8fd742fb5b55190190b6bf8751cc022e6 (patch) | |
tree | 529dd3b98b1e820ca1cf869d39e889e8f2acbf39 /src/cmd/hget.c | |
parent | d7d96fb3e2305808c452c4d4d8d02b9acce4e64e (diff) | |
download | plan9port-d82651b8fd742fb5b55190190b6bf8751cc022e6.tar.gz plan9port-d82651b8fd742fb5b55190190b6bf8751cc022e6.tar.bz2 plan9port-d82651b8fd742fb5b55190190b6bf8751cc022e6.zip |
no [] initializers
Diffstat (limited to 'src/cmd/hget.c')
-rw-r--r-- | src/cmd/hget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/hget.c b/src/cmd/hget.c index 6c1986dc..8fa1432d 100644 --- 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 |