[Xfce4-commits] <postler:master> Initialize HelperProcess.folder to non-null "??"

Christian Dywan noreply at xfce.org
Sat Jun 4 14:30:05 CEST 2011


Updating branch refs/heads/master
         to 2682481ef7a06e1c6a3d895a94b442b1e1cb406f (commit)
       from 99f15c8cc2227665f5be42188991e278daf60f93 (commit)

commit 2682481ef7a06e1c6a3d895a94b442b1e1cb406f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Jun 2 20:38:00 2011 +0200

    Initialize HelperProcess.folder to non-null "??"
    
    An unset folder name is clearly a bug, but a bogus string
    is preferrable over a crash.

 postler/postler-service.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-service.vala b/postler/postler-service.vala
index 45731d5..0155162 100644
--- a/postler/postler-service.vala
+++ b/postler/postler-service.vala
@@ -13,7 +13,7 @@ namespace Postler {
     internal class HelperProcess : Object {
         internal string? display_name;
         internal bool unverified;
-        internal string? folder = null;
+        internal string folder = "??";
         string? command = null;
         IOChannel inputc;
         IOChannel errorc;



More information about the Xfce4-commits mailing list