Updating branch refs/heads/master to 9ef3521a1afc5c4c3e7bc4ac5648f00862e9c7cb (commit) from 92097f431791f156aad9f6795e0a34e191918cd6 (commit)
commit 9ef3521a1afc5c4c3e7bc4ac5648f00862e9c7cb Author: Christian Dywan <christ...@twotoasts.de> Date: Thu Jul 8 22:02:40 2010 +0200 Iterate actual line length when preparing reply postler/postler-content.vala | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postler/postler-content.vala b/postler/postler-content.vala index 4b5f79a..0f3309d 100644 --- a/postler/postler-content.vala +++ b/postler/postler-content.vala @@ -307,8 +307,8 @@ public class Postler.Content : WebKit.WebView { break; } - size_t length; - while ((line = stream.read_line (out length, null)) != null) { + while ((line = stream.read_line (null, null)) != null) { + size_t length = line.len (); /* TODO: Handle encoding */ for (int i = 0; i < length; i += (quote ? 78 : 80)) body.append ((quote ? "> " : "") _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits