]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Added a missing comma in a comment.
authortcely <tcely@users.noreply.github.com>
Thu, 24 May 2018 15:25:14 +0000 (11:25 -0400)
committertcely <tcely@users.noreply.github.com>
Thu, 24 May 2018 17:33:47 +0000 (13:33 -0400)
It is safer to leave the comma in place. When copying / pasting lines,
you might end up with syntax problems without it.

modules/luabackend/test/powerdns-luabackend.lua

index ec135b0608e48d0cdd416c9c14394e8ba8b7814d..fa5342be5354678d55772bf8a47db518a18712be 100644 (file)
@@ -349,7 +349,7 @@ local hnfmt = "host-%d.%s"
 local ipfmt = "192.168.1.%d"
 for n = 2, 19999, 1 do
     domains[origin].records[hnfmt:format(n, origin)] = {
-        {qtype = "A", ttl = ttl, content = ipfmt:format( n % 256)}
+        {qtype = "A", ttl = ttl, content = ipfmt:format( n % 256)},
     }
 end
 --]=]