Mercurial > libpst
comparison pst2ldif.cpp @ 11:bf12a9d4524c
more code cleanup
author | carl |
---|---|
date | Fri, 17 Feb 2006 22:48:32 -0800 |
parents | 8c724896a28a |
children | 3f627519a92d |
comparison
equal
deleted
inserted
replaced
10:a818f3c2e589 | 11:bf12a9d4524c |
---|---|
271 | 271 |
272 if (item->contact->job_title) | 272 if (item->contact->job_title) |
273 printf("personalTitle: %s\n", single(item->contact->job_title)); | 273 printf("personalTitle: %s\n", single(item->contact->job_title)); |
274 if (item->contact->company_name) | 274 if (item->contact->company_name) |
275 printf("company: %s\n", single(item->contact->company_name)); | 275 printf("company: %s\n", single(item->contact->company_name)); |
276 if (item->contact->address1) | 276 if (item->contact->address1 && *item->contact->address1) |
277 printf("mail: %s\n", single(item->contact->address1)); | 277 printf("mail: %s\n", single(item->contact->address1)); |
278 if (item->contact->address2) | 278 if (item->contact->address2 && *item->contact->address2) |
279 printf("mail: %s\n", single(item->contact->address2)); | 279 printf("mail: %s\n", single(item->contact->address2)); |
280 if (item->contact->address3) | 280 if (item->contact->address3 && *item->contact->address3) |
281 printf("mail: %s\n", single(item->contact->address3)); | 281 printf("mail: %s\n", single(item->contact->address3)); |
282 if (item->contact->address1a && *item->contact->address1a) | |
283 printf("mail: %s\n", single(item->contact->address1a)); | |
284 if (item->contact->address2a && *item->contact->address2a) | |
285 printf("mail: %s\n", single(item->contact->address2a)); | |
286 if (item->contact->address3a && *item->contact->address3a) | |
287 printf("mail: %s\n", single(item->contact->address3a)); | |
282 if (item->contact->business_address) { | 288 if (item->contact->business_address) { |
283 if (item->contact->business_po_box) | 289 if (item->contact->business_po_box) |
284 printf("postalAddress: %s\n", single(item->contact->business_po_box)); | 290 printf("postalAddress: %s\n", single(item->contact->business_po_box)); |
285 if (item->contact->business_street) | 291 if (item->contact->business_street) |
286 multi("postalAddress: %s\n", item->contact->business_street); | 292 multi("postalAddress: %s\n", item->contact->business_street); |