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
/
queue.c
diff --git
a/lib/queue.c
b/lib/queue.c
index 2b10f7a2264636a21461b6ab86f7ba6ea4060207..a98bec135bb0ca2b8bea9fb1795bb3fb3543e310 100644
(file)
--- a/
lib/queue.c
+++ b/
lib/queue.c
@@
-177,7
+177,7
@@
int queue_unmarshall_vec(struct queue_entry *q, int nvec, char **vec,
}
while(*vec) {
D(("key %s value %s", vec[0], vec[1]));
- if((n = TABLE_FIND(fields,
struct field,
name, *vec)) < 0) {
+ if((n = TABLE_FIND(fields, name, *vec)) < 0) {
error_handler("unknown key in queue data", u);
return -1;
} else {