comparison src/pst2dii.cpp.in @ 162:6cb85306e28a

fix fedora 11 type mismatch warning (actually an error in this case)
author Carl Byington <carl@five-ten-sg.com>
date Sat, 14 Mar 2009 19:25:17 -0700
parents 581fab9f1dc7
children 40e9de445038
comparison
equal deleted inserted replaced
161:3418238889ab 162:6cb85306e28a
611 item = pst_parse_item(&pstfile, d_ptr, NULL); 611 item = pst_parse_item(&pstfile, d_ptr, NULL);
612 DEBUG_INFO(("item pointer is %p\n", item)); 612 DEBUG_INFO(("item pointer is %p\n", item));
613 if (item) { 613 if (item) {
614 if (item->folder && d_ptr->child ) { 614 if (item->folder && d_ptr->child ) {
615 //if this is a non-empty folder, we want to recurse into it 615 //if this is a non-empty folder, we want to recurse into it
616 fprintf(stderr, "entering folder %s\n", item->file_as); 616 fprintf(stderr, "entering folder %s\n", item->file_as.str);
617 process(item, &ff, d_ptr->child); 617 process(item, &ff, d_ptr->child);
618 } else if (item->email && (item->type == PST_TYPE_NOTE || item->type == PST_TYPE_REPORT || item->type == PST_TYPE_OTHER)) { 618 } else if (item->email && (item->type == PST_TYPE_NOTE || item->type == PST_TYPE_REPORT || item->type == PST_TYPE_OTHER)) {
619 ff.email_count++; 619 ff.email_count++;
620 DEBUG_MAIN(("main: Processing Email\n")); 620 DEBUG_MAIN(("main: Processing Email\n"));
621 if ((ff.type != PST_TYPE_NOTE) && (ff.type != PST_TYPE_REPORT) && (ff.type != PST_TYPE_OTHER)) { 621 if ((ff.type != PST_TYPE_NOTE) && (ff.type != PST_TYPE_REPORT) && (ff.type != PST_TYPE_OTHER)) {