Mercurial > hg
changeset 1565:bff9633e38ee
Fix segfault in command /pgp (reported by Maxim Vuets)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 27 Jan 2009 22:19:04 +0100 |
parents | 4b6cfaa6898b |
children | d64e0b2855fc 72fef01d9061 |
files | mcabber/src/settings.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/settings.c Fri Jan 16 22:35:21 2009 +0100 +++ b/mcabber/src/settings.c Tue Jan 27 22:19:04 2009 +0100 @@ -472,7 +472,7 @@ } else { pgpdata->pgp_force = value; } - if (!pgpdata->pgp_keyid) + if (value && pgpdata && !pgpdata->pgp_keyid) scr_LogPrint(LPRINT_NORMAL, "Warning: the Key Id is not set!"); #endif }