chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TABLE_FIND() now uses typeof. We're committed to GCC anyway so it
[disorder]
/
server
/
options.c
diff --git
a/server/options.c
b/server/options.c
index 68f827157726d74d2c3229764a2a15bc8cd9048d..0e4a1d585e0e08b0326499d14a8577434e3989eb 100644
(file)
--- a/
server/options.c
+++ b/
server/options.c
@@
-95,7
+95,7
@@
static void option__readfile(const char *name) {
continue;
if(!n)
continue;
- if((i = TABLE_FIND(options,
struct option,
name, vec[0])) == -1) {
+ if((i = TABLE_FIND(options, name, vec[0])) == -1) {
error(0, "%s:%d: unknown option '%s'", cs.name, cs.line, vec[0]);
continue;
}