diff options
-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 |