X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-protocol-registry.c;h=9e89763a229b98b80f90b56206ce383585519274;hp=75ff36901b098b4df1d3c36c3c9bbd6de89eea08;hb=1fbc19709d3ddcf703a122bcc101afb45b8e3658;hpb=b69345f02a040bdf9148f53f81f1e2d16c7379f3 diff --git a/src/modest-protocol-registry.c b/src/modest-protocol-registry.c index 75ff369..9e89763 100644 --- a/src/modest-protocol-registry.c +++ b/src/modest-protocol-registry.c @@ -299,7 +299,7 @@ modest_protocol_registry_get_pair_list_by_tag (ModestProtocolRegistry *self, con { ModestProtocolRegistryPrivate *priv; GHashTable *tag_table; - GSList *result; + GSList *result = NULL; g_return_val_if_fail (MODEST_IS_PROTOCOL_REGISTRY (self), NULL); priv = MODEST_PROTOCOL_REGISTRY_GET_PRIVATE (self); @@ -311,7 +311,7 @@ modest_protocol_registry_get_pair_list_by_tag (ModestProtocolRegistry *self, con g_hash_table_foreach (tag_table, (GHFunc) add_protocol_to_pair_list, &result); - return result; + return result; } static gboolean @@ -463,7 +463,7 @@ modest_protocol_registry_set_to_default (ModestProtocolRegistry *self) MODEST_PROTOCOL_REGISTRY_STORE_PROTOCOLS, MODEST_PROTOCOL_REGISTRY_REMOTE_STORE_PROTOCOLS, MODEST_PROTOCOL_REGISTRY_HAS_LEAVE_ON_SERVER_PROTOCOLS, - MODEST_PROTOCOL_REGISTRY_STORE_FORBID_MESSAGE_ADD, + MODEST_PROTOCOL_REGISTRY_STORE_FORBID_INCOMING_XFERS, NULL); g_object_unref (protocol);