diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-12 13:12:10 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-12 13:12:10 +0800 |
commit | 11c26426f69e8d68ded2b208b49bd93686393596 (patch) | |
tree | 490a55cab6c1d401941a6afcd7c8e1dde359f244 /mail | |
parent | 0c458b79b41e2982bbc41c94993c8ad04a8d46d4 (diff) | |
download | gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.gz gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.bz2 gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.lz gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.xz gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.tar.zst gsoc2013-evolution-11c26426f69e8d68ded2b208b49bd93686393596.zip |
strdup() the key.
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* session.c (mail_session_set_password): strdup() the key.
svn path=/trunk/; revision=7433
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/session.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 934add80d4..b7273c0ef1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2001-01-12 Jeffrey Stedfast <fejj@ximian.com> + * session.c (mail_session_set_password): strdup() the key. + * mail-config-druid.c (construct): We don't want to be able to set the reply-to in the config druid. (druid_finish): Don't set a reply-to anymore. diff --git a/mail/session.c b/mail/session.c index b35116d904..a4a2122ddc 100644 --- a/mail/session.c +++ b/mail/session.c @@ -293,5 +293,5 @@ mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data, void mail_session_set_password (const char *url, const char *password) { - g_hash_table_insert (passwords, url, g_strdup (password)); + g_hash_table_insert (passwords, g_strdup (url), g_strdup (password)); } |