evolution-data-server r8353 - trunk/libedataserverui
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8353 - trunk/libedataserverui
- Date: Fri, 11 Jan 2008 17:08:36 +0000 (GMT)
Author: sragavan
Date: Fri Jan 11 17:08:36 2008
New Revision: 8353
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8353&view=rev
Log:
2008-01-11 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #508438
* e-passwords.c: (ep_get_password_keyfile): (ep_get_password_keyfile):
Extract error only if it is there.
Modified:
trunk/libedataserverui/ChangeLog
trunk/libedataserverui/e-passwords.c
Modified: trunk/libedataserverui/e-passwords.c
==============================================================================
--- trunk/libedataserverui/e-passwords.c (original)
+++ trunk/libedataserverui/e-passwords.c Fri Jan 11 17:08:36 2008
@@ -353,8 +353,10 @@
if (error == NULL)
ep_key_file_save ();
else {
- g_warning ("%s", error->message);
- g_error_free (error);
+ if (error) {
+ g_warning ("%s", error->message);
+ g_error_free (error);
+ }
}
g_free (group);
@@ -762,8 +764,10 @@
msg->password = ep_password_decode (password);
g_free (password);
} else {
- g_warning ("%s", error->message);
- g_error_free (error);
+ if (error) {
+ g_warning ("%s", error->message);
+ g_error_free (error);
+ }
}
g_free (group);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]