* src/modest-mail-operation.c:
(modest_mail_operation_update_account):
Use info->max_size instead of unintialized local var [small
build fix]. (Added TODO to review that change since I don't
know the code)
pmo-trunk-r1962
+2007-05-23 Christian Kellner <ckellner@openismus.com>
+
+ * src/modest-mail-operation.c:
+ (modest_mail_operation_update_account):
+ Use info->max_size instead of unintialized local var [small
+ build fix]. (Added TODO to review that change since I don't
+ know the code)
+
2007-05-23 Marcus Bauer <marcusb@openismus.com>
* libmodest-dbus-client/libmodest-dbus-client.c:
2007-05-23 Marcus Bauer <marcusb@openismus.com>
* libmodest-dbus-client/libmodest-dbus-client.c:
ModestAccountMgr *mgr;
TnyStoreAccount *modest_account;
TnyTransportAccount *transport_account;
ModestAccountMgr *mgr;
TnyStoreAccount *modest_account;
TnyTransportAccount *transport_account;
g_return_val_if_fail (MODEST_IS_MAIL_OPERATION (self), FALSE);
g_return_val_if_fail (account_name, FALSE);
g_return_val_if_fail (MODEST_IS_MAIL_OPERATION (self), FALSE);
g_return_val_if_fail (account_name, FALSE);
if (info->max_size == 0)
info->max_size = G_MAXINT;
else
if (info->max_size == 0)
info->max_size = G_MAXINT;
else
- info->max_size = max_size * KB;
+ info->max_size = info->max_size * KB; /* TODO: review this fix */
mgr = modest_runtime_get_account_mgr ();
info->retrieve_type = modest_account_mgr_get_string (mgr, account_name, MODEST_ACCOUNT_RETRIEVE, FALSE);
mgr = modest_runtime_get_account_mgr ();
info->retrieve_type = modest_account_mgr_get_string (mgr, account_name, MODEST_ACCOUNT_RETRIEVE, FALSE);