diff src/readpst.c @ 146:0695de3b5a98 stable-0-6-29

fix for 64bit on Fedora 11
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Feb 2009 15:32:56 -0800
parents fdc58ad2c758
children 06aa84023b48
line wrap: on
line diff
--- a/src/readpst.c	Tue Feb 24 13:18:46 2009 -0800
+++ b/src/readpst.c	Tue Feb 24 15:32:56 2009 -0800
@@ -752,7 +752,7 @@
     d_ptr.parent_id  = 0;
     d_ptr.list_index = NULL;
     d_ptr.desc       = ptr;
-    d_ptr.no_child   - 0;
+    d_ptr.no_child   = 0;
     d_ptr.prev       = NULL;
     d_ptr.next       = NULL;
     d_ptr.parent     = NULL;
@@ -884,7 +884,6 @@
 
 void header_strip_field(char *header, char *field)
 {
-    char *e;
     char *t = header_get_field(header, field);
     if (t) {
         char *e = header_end_field(t);
@@ -959,7 +958,7 @@
     char *headers = *extra_mime_headers;
     if (headers) {
         char *temp, *t;
-        while (temp = strstr(headers, "\n\n")) {
+        while ((temp = strstr(headers, "\n\n"))) {
             temp[1] = '\0';
             t = header_get_field(headers, "\nContent-Type: ");
             if (t) {