evolution r36206 - branches/mail-dbus-remoting/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36206 - branches/mail-dbus-remoting/mail
- Date: Fri, 29 Aug 2008 19:57:37 +0000 (UTC)
Author: sragavan
Date: Fri Aug 29 19:57:36 2008
New Revision: 36206
URL: http://svn.gnome.org/viewvc/evolution?rev=36206&view=rev
Log:
Fix return value handing and brace scope
Modified:
branches/mail-dbus-remoting/mail/camel-store-remote.c
Modified: branches/mail-dbus-remoting/mail/camel-store-remote.c
==============================================================================
--- branches/mail-dbus-remoting/mail/camel-store-remote.c (original)
+++ branches/mail-dbus-remoting/mail/camel-store-remote.c Fri Aug 29 19:57:36 2008
@@ -34,7 +34,7 @@
"camel_store_get_folder",
&error,
"ssu=>ss", store->object_id, folder_name,
- flags, &shash, &err))
+ flags, &shash, &err)) {
object = g_hash_table_lookup (folder_rhash, shash);
if (!object) {
object = g_new0(CamelObjectRemote, 1);
@@ -42,7 +42,7 @@
object->type = CAMEL_RO_FOLDER;
g_hash_table_insert (folder_rhash, shash, object);
}
- else {
+ } else {
g_warning ("camel_store_get_folder error: %s\n", error.message);
dbus_error_free (&error);
}
@@ -75,7 +75,7 @@
"s=>ss", store->object_id, &fhash,
&err);
- if (ret != DBUS_HANDLER_RESULT_HANDLED) {
+ if (!ret) {
return NULL;
} else {
CamelObjectRemote *object = g_hash_table_lookup (folder_rhash, fhash);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]