Fix Coverity CIDs #1398812, #1398813, #1398814.
[claws.git] / src / messageview.c
index 7052ff84891e8b66ef5fbfa02fcb62bb6af87958..4e15e0710360d999ce0028af31c66a7e79e4bcf8 100644 (file)
@@ -794,7 +794,7 @@ static void notification_convert_header(gchar **dest,
        } else {
                *dest = g_malloc(BUFFSIZE);
                if (*dest)
-                       conv_encode_header(*dest, sizeof(dest), src, header_len, FALSE);
+                       conv_encode_header(*dest, BUFFSIZE, src, header_len, FALSE);
                else
                        debug_print("notification_convert_header: alloc");
        }