From 65964c5b7169e0bafa7f61e45e18ba9f54204a55 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 28 Sep 2009 13:19:48 +0000 Subject: [PATCH] Monotone-Parent: 1aaea249ad1360b144fa338a55f11cad2cf930d0 Monotone-Revision: 93ac3544873becf72157e54ddeac053456390045 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-28T13:19:48 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoUser.m | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bb687ed88..905f41def 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-28 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoUser.m (+initialize): avoid a crash when + SOGoProfileURL is not set. + 2009-09-27 Ludovic Marcotte * Reworked the UIxMailPartSignedViewer to inherit diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index fc49e66b2..6ceb75d83 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -146,7 +146,8 @@ _timeValue (NSString *key) @" was renamed to 'SOGoProfileURL'"]; } } - SOGoProfileURL = [[NSURL alloc] initWithString: profileURL]; + if (profileURL) + SOGoProfileURL = [[NSURL alloc] initWithString: profileURL]; } if (!fallbackIMAP4Server) ASSIGN (fallbackIMAP4Server,