]> www.average.org Git - pdns-pipe-nmc.git/blobdiff - PowerDns.hs
cosmetic
[pdns-pipe-nmc.git] / PowerDns.hs
index 165b80ed5303681b0c63c0e82f8a2b36b1371ca4..1c1e420c6e13c0c61d25e1dc98537933f802bad0 100644 (file)
@@ -64,7 +64,7 @@ pdnsParse ver s =
       _                         -> Left $ "Unparseable PDNS Request: " ++ s
 
 pdnsOut :: Int -> RRType -> Either String NmcDom -> String
-pdnsOut ver _ d =
-  case d of
+pdnsOut ver rrtype edom =
+  case edom of
     Left  err -> "LOG Error: " ++ err ++ "\nFAIL\n"
     Right dom -> "DATA\n" ++ (show dom) ++ "\nEND\n" --FIXME