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]
/
lib
/
eclient.c
diff --git
a/lib/eclient.c
b/lib/eclient.c
index a8ca322e071bed886259f8d26d74e5f663713516..941849c7502f1ec51b96f40644fee5943e158831 100644
(file)
--- a/
lib/eclient.c
+++ b/
lib/eclient.c
@@
-1404,7
+1404,7
@@
static void logline(disorder_eclient *c, const char *line) {
return;
}
/* TODO: do something with the time */
return;
}
/* TODO: do something with the time */
- n = TABLE_FIND(logentry_handlers,
struct logentry_handler,
name, vec[1]);
+ n = TABLE_FIND(logentry_handlers, name, vec[1]);
if(n < 0) return; /* probably a future command */
vec += 2;
nvec -= 2;
if(n < 0) return; /* probably a future command */
vec += 2;
nvec -= 2;