clix/vcard.lua

changeset 65
65076d194b85
parent 64
582afbb2b23d
child 67
776d97484dc5
equal deleted inserted replaced
64:582afbb2b23d 65:65076d194b85
234 print("VERSION:3.0"); 234 print("VERSION:3.0");
235 for i = 1,#vCard do 235 for i = 1,#vCard do
236 local item = vCard[i]; 236 local item = vCard[i];
237 if item.name then 237 if item.name then
238 local s = vCard_prop(item); 238 local s = vCard_prop(item);
239 if s then print(s); end 239 if s then
240 else 240 print(s);
241 conn:debug("Unhandled vCard field: %s", item.name); 241 else
242 conn:debug("Unhandled vCard field: %s", item.name);
243 end
242 end 244 end
243 end 245 end
244 print("END:VCARD"); 246 print("END:VCARD");
245 end 247 end
246 verse.quit(); 248 verse.quit();

mercurial