diff 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
line wrap: on
line diff
--- a/src/libpst.c	Sun Mar 22 14:34:26 2009 -0700
+++ b/src/libpst.c	Sun Mar 29 08:51:13 2009 -0700
@@ -628,7 +628,7 @@
             // add it to the list
             pst_x_attrib_ll *p_sh  = p_head;
             pst_x_attrib_ll *p_sh2 = NULL;
-            while (p_sh && ptr->map > p_sh->map) {
+            while (p_sh && (ptr->map > p_sh->map)) {
                 p_sh2 = p_sh;
                 p_sh  = p_sh->next;
             }