chiark / gitweb /
Regression test scripts set EF_DISABLE_BANNER (for Electric Fence).
[adns] / client / adh-query.c
index f2dd5c1b4b971ec9adc04e94e87ce8040d5ccd58..1edf1608879e8551ae8b174dcee184e673d0090b 100644 (file)
@@ -159,11 +159,11 @@ void query_done(struct query_node *qun, adns_answer *answer) {
   st= answer->status;
   nrrs= answer->nrrs;
   if (ov_asynch) {
-    if (printf("%s %d", qun->id, nrrs) == EOF) outerr();
+    if (printf("%s %d ", qun->id, nrrs) == EOF) outerr();
     print_status(st,qun,answer);
   } else {
     if (st) {
-      if (fputs("; failed",stdout) == EOF) outerr();
+      if (fputs("; failed ",stdout) == EOF) outerr();
       print_status(st,qun,answer);
     } else if (answer->cname) {
       print_owner_ttl(qun,answer);
@@ -202,5 +202,7 @@ void of_asynch_id(const struct optioninfo *oi, const char *arg) {
   ov_id= xstrsave(arg);
 }
 
-void of_cancel_id(const struct optioninfo *oi, const char *arg) { abort(); }
+void of_cancel_id(const struct optioninfo *oi, const char *arg) {
+  assert(!"implemented");
+}