* src/modest-tny-account-store.c: (get_password):
Remove the call to tny_account_set_user() because this actually crashes.
As mentioned in the last commit, it is known to not work anyway.
pmo-trunk-r2374
2007-06-22 Murray Cumming <murrayc@murrayc.com>
* src/modest-tny-account-store.c: (get_password):
+ Remove the call to tny_account_set_user() because this actually crashes.
+ As mentioned in the last commit, it is known to not work anyway.
+
+2007-06-22 Murray Cumming <murrayc@murrayc.com>
+
+ * src/modest-tny-account-store.c: (get_password):
Use tny_account_set_username() to tell tinymail that the username might
have changed too. But tinymail ignores this: see projects.maemo.org
bug #61463.
if (!*cancel) {
/* The password will be returned as the result,
* but we need to tell tinymail about the username too: */
- tny_account_set_user (account, username);
+ /* TODO: This causes a crash because it frees memory that
+ * tinymail is already using. tinymail needs to detect the change
+ * and stop using the old username:
+ * tny_account_set_user (account, username); */
if (remember) {
printf ("%s: Storing username=%s, password=%s\n",