chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get semantics of invertable options, and of cancelling, right.
[adns]
/
client
/
adh-query.c
diff --git
a/client/adh-query.c
b/client/adh-query.c
index 1bc4e4c6c9a8fd4000889ab28eb98b8e5fd46121..58b1561d0f19bbefbc27a716ee9f13ee57e99d19 100644
(file)
--- a/
client/adh-query.c
+++ b/
client/adh-query.c
@@
-197,7
+197,7
@@
void of_cancel_id(const struct optioninfo *oi, const char *arg) {
struct query_node *qun;
for (qun= outstanding.head;
- qun &&
!
strcmp(qun->id,arg);
+ qun && strcmp(qun->id,arg);
qun= qun->next);
if (!qun) return;
adns_cancel(qun->qu);