Increase the limit of characters to "secure" headers to 2048
[modest] / src / modest-protocol-registry.c
index 75ff369..9e89763 100644 (file)
@@ -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);