clix.vcard: Fix debug.

Sun, 14 Aug 2011 21:34:28 +0200

author
Kim Alvefur <zash@zash.se>
date
Sun, 14 Aug 2011 21:34:28 +0200
changeset 65
65076d194b85
parent 64
582afbb2b23d
child 66
13d6d39f5952

clix.vcard: Fix debug.

clix/vcard.lua file | annotate | diff | comparison | revisions
--- a/clix/vcard.lua	Sun Aug 14 21:30:08 2011 +0200
+++ b/clix/vcard.lua	Sun Aug 14 21:34:28 2011 +0200
@@ -236,9 +236,11 @@
 					local item = vCard[i];
 					if item.name then
 						local s = vCard_prop(item);
-						if s then print(s); end
-					else
-						conn:debug("Unhandled vCard field: %s", item.name);
+						if s then
+							print(s);
+						else
+							conn:debug("Unhandled vCard field: %s", item.name);
+						end
 					end
 				end
 				print("END:VCARD");

mercurial