]> granicus.if.org Git - pdns/commitdiff
Fixed indentation
authorAki Tuomi <cmouse@cmouse.fi>
Tue, 12 Nov 2013 19:40:30 +0000 (21:40 +0200)
committerAki Tuomi <cmouse@desteem.org>
Mon, 18 Nov 2013 17:44:31 +0000 (19:44 +0200)
regression-tests/check_stest_source

index 57aa58dc28f88b550fec87d0d334da04bc1ecaab..fa668c28d16fd46bafc5e0de50da96956b7634de 100644 (file)
@@ -1,9 +1,9 @@
 function prequery ( dnspacket )
-       qname, qtype = dnspacket:getQuestion()
-        remote = dnspacket:getRemote()
-       if qname == "stest.com" and remote ~= "127.0.0.2" then
-                dnspacket:setRcode(pdns.NXDOMAIN)
-               return true
+    qname, qtype = dnspacket:getQuestion()
+    remote = dnspacket:getRemote()
+    if qname == "stest.com" and remote ~= "127.0.0.2" then
+        dnspacket:setRcode(pdns.NXDOMAIN)
+        return true
         end
-       return false
+    return false
 end