zone.lisp: Don't try to take the `car' of something we know isn't a list.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 19 Sep 2017 17:13:06 +0000 (18:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 19 Sep 2017 17:13:06 +0000 (18:13 +0100)
zone.lisp

index 9e52569..6d6dce9 100644 (file)
--- a/zone.lisp
+++ b/zone.lisp
                                      :ttl ttl :records (cdr r))
                                     sub)))
                         (t
-                         (error "Unexpected record form ~A" (car r))))))))
+                         (error "Unexpected record form ~A" r)))))))
 
           (process (rec dom ttl)
             ;; Recursirvely process the record list REC, with a list DOM of