comparison src/libpst.c @ 171:6c1e75bc4cac

properly add trailing mime boundary in all modes
author Carl Byington <carl@five-ten-sg.com>
date Sun, 29 Mar 2009 08:51:13 -0700
parents 0e1e048716e4
children 6954d315aaa8
comparison
equal deleted inserted replaced
170:0e1e048716e4 171:6c1e75bc4cac
626 626
627 if (!err) { 627 if (!err) {
628 // add it to the list 628 // add it to the list
629 pst_x_attrib_ll *p_sh = p_head; 629 pst_x_attrib_ll *p_sh = p_head;
630 pst_x_attrib_ll *p_sh2 = NULL; 630 pst_x_attrib_ll *p_sh2 = NULL;
631 while (p_sh && ptr->map > p_sh->map) { 631 while (p_sh && (ptr->map > p_sh->map)) {
632 p_sh2 = p_sh; 632 p_sh2 = p_sh;
633 p_sh = p_sh->next; 633 p_sh = p_sh->next;
634 } 634 }
635 if (!p_sh2) { 635 if (!p_sh2) {
636 // needs to go before first item 636 // needs to go before first item