Changeset

65:65076d194b85

clix.vcard: Fix debug.
author Kim Alvefur <zash@zash.se>
date Sun, 14 Aug 2011 21:34:28 +0200
parents 64:582afbb2b23d
children 66:13d6d39f5952
files clix/vcard.lua
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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");