These were discovered by Coccinelle¹ checker running at
http://firewoes.debian.net/
¹http://coccinelle.lip6.fr/
/* Store path to message */
if(nftype == F_TYPE_MAIL) {
- if(msginfo->folder && msginfo->folder) {
+ if(msginfo && msginfo->folder) {
gchar *ident;
ident = folder_item_get_identifier(msginfo->folder);
ppopup->msg_path = g_strdup_printf("%s%s%u", ident,G_DIR_SEPARATOR_S,
/* Store path to message */
if(nftype == F_TYPE_MAIL) {
- if(msginfo->folder && msginfo->folder) {
+ if(msginfo && msginfo->folder) {
gchar *ident;
ident = folder_item_get_identifier(msginfo->folder);
popup.msg_path = g_strdup_printf("%s%s%u", ident,G_DIR_SEPARATOR_S,