tno [] initializers - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d82651b8fd742fb5b55190190b6bf8751cc022e6
(DIR) parent d7d96fb3e2305808c452c4d4d8d02b9acce4e64e
(HTM) Author: rsc <devnull@localhost>
Date: Wed, 13 Jul 2005 03:52:37 +0000
no [] initializers
Diffstat:
M src/cmd/hget.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/src/cmd/hget.c b/src/cmd/hget.c
t@@ -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