McKael / mcabber (http://mcabber.com)
Mirror of the mcabber upstream repository. MCabber is a small Jabber console client.
| commit 1565: | bff9633e38ee |
| parent 1564: | 4b6cfaa6898b |
| branch: | default |
Fix segfault in command /pgp (reported by Maxim Vuets)
Changed (Δ20 bytes):
raw changeset »
mcabber/src/settings.c (1 lines added, 1 lines removed)
Up to file-list mcabber/src/settings.c:
| … | … | @@ -472,7 +472,7 @@ void settings_pgp_setforce(const char *b |
472 |
472 |
} else { |
473 |
473 |
pgpdata->pgp_force = value; |
474 |
474 |
} |
475 |
if ( |
|
475 |
if (value && pgpdata && !pgpdata->pgp_keyid) |
|
476 |
476 |
scr_LogPrint(LPRINT_NORMAL, "Warning: the Key Id is not set!"); |
477 |
477 |
#endif |
478 |
478 |
} |
