[Xfce4-commits] <postler:master> Skip the final boundary of message parts

Christian Dywan noreply at xfce.org
Thu Jul 29 12:26:10 CEST 2010


Updating branch refs/heads/master
         to 8d44963991d98aaab517862872714428e7897055 (commit)
       from 3f961a10e3b4277f5bf3e0f47d0a3a3e78d46596 (commit)

commit 8d44963991d98aaab517862872714428e7897055
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jul 25 18:19:35 2010 +0200

    Skip the final boundary of message parts

 postler/postler-content.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 81094eb..1bc4f83 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -571,6 +571,9 @@ public class Postler.Content : WebKit.WebView {
                             body_parts++;
                             multipart = 2;
                             continue;
+                        } else if (line == "--" + boundary + "--") {
+                            /* Final boundary, we can skip it */
+                            continue;
                         }
                     }
                     else if (multipart == 2) {



More information about the Xfce4-commits mailing list