]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Fixed linebreak error
authormartin.holst@gmail.com <martin.holst@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sun, 20 Oct 2013 19:05:52 +0000 (19:05 +0000)
committermartin.holst@gmail.com <martin.holst@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sun, 20 Oct 2013 19:05:52 +0000 (19:05 +0000)
client/scripts/ndef_dump.lua

index f89f6db26a4a1a4f77f5a1469eb2e8bee3dd2790..da1a1ef23bb37a31529a6525966210bde180123f 100644 (file)
@@ -59,8 +59,7 @@ local utils = {
 
                        local formatString = string.format("H%d", string.len(block))
                        local _,hex = bin.unpack(formatString,block)
 
                        local formatString = string.format("H%d", string.len(block))
                        local _,hex = bin.unpack(formatString,block)
-                       file:write(hex)
-                       file:write(0x0A) -- Line feed
+                       file:write(hex.."\n")
                end
                file:close()    
                return destination
                end
                file:close()    
                return destination
Impressum, Datenschutz