Mercurial > libpst
comparison pst2ldif.cpp @ 15:ac98f448b6ab
patches from debian
author | carl |
---|---|
date | Sun, 19 Feb 2006 14:50:06 -0800 |
parents | 3f2fedec798c |
children |
comparison
equal
deleted
inserted
replaced
14:3f2fedec798c | 15:ac98f448b6ab |
---|---|
398 } else { | 398 } else { |
399 usage(); | 399 usage(); |
400 exit(2); | 400 exit(2); |
401 } | 401 } |
402 | 402 |
403 DEBUG_INIT("pst2ldif.log"); | 403 #ifdef DEBUG_ALL |
404 DEBUG_REGISTER_CLOSE(); | 404 DEBUG_INIT("pst2ldif.log"); |
405 DEBUG_REGISTER_CLOSE(); | |
406 #endif | |
405 DEBUG_ENT("main"); | 407 DEBUG_ENT("main"); |
406 RET_DERROR(pst_open(&pstfile, fname, "r"), 1, ("Error opening File\n")); | 408 RET_DERROR(pst_open(&pstfile, fname, "r"), 1, ("Error opening File\n")); |
407 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n")); | 409 RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n")); |
408 | 410 |
409 pst_load_extended_attributes(&pstfile); | 411 pst_load_extended_attributes(&pstfile); |