aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 70b0a3f60a..10730a4301 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -2730,11 +2730,9 @@ header_encode_param (const unsigned char *in, gboolean *encoded)
*encoded = FALSE;
+ g_return_val_if_fail (in != NULL, NULL);
g_return_val_if_fail (g_utf8_validate (in, -1, NULL), NULL);
- if (in == NULL)
- return NULL;
-
/* do a quick us-ascii check (the common case?) */
while (*inptr) {
if (*inptr > 127)
ns'>+8 * connect math/rexx-regmath to the build.ler2017-10-131-0/+1 * New port: math/rexx-regmathler2017-10-1310-0/+407 * - Add CPE information for math/psppcpm2017-10-131-1/+3 * For ports that are explicitly enabled on armv6, also enable themlinimon2017-10-111-1/+1 * - Update to 1.0.0wen2017-10-103-4/+5 * math/pspp: fix NLS optioncpm2017-10-101-3/+4 * - Update to 0.12.0amdmi32017-10-095-57/+21 * Mark BROKEN: fails to buildantoine2017-10-091-0/+2 * Defining both LICENSE_FILE_COMMERCIAL and LICENSE_TEXT_COMMERCIAL is notantoine2017-10-081-2/+2 * Update to 2.0.4sunpoet2017-10-072-4/+4 * Update to 3.0.1sunpoet2017-10-072-4/+4 * math/clblast: Update to 1.1.0 release.jmd2017-10-032-4/+4 * - Update to 1.3.1tota2017-10-012-4/+5 * - Update to 0.19jadawin2017-10-012-4/+4 * math/R: Update to version 3.4.2jrm2017-09-303-25/+19 * - Update to 1.1-14tota2017-09-292-4/+4 * - Update to 1.5.1tota2017-09-293-5/+12 * math/tomsfastmath: update to 0.13.1gahr2017-09-283-25/+35 * - Update to 1.1.1tota2017-09-282-6/+6 * - Update to 8.2tota2017-09-282-4/+4 * Bump PORTREVISION in ports depending on archivers/libzip.rakuco2017-09-281-0/+1 * math/tomsfastmath: build PICgahr2017-09-271-1/+2 * Update to 0.7.5bapt2017-09-252-4/+4 * Update to version 3.13.0.demon2017-09-256-44/+82 * Update to version 1.6.3.demon2017-09-253-32/+46 * devel/boost-*: update to 1.65.1jbeich2017-09-2517-17/+17 * devel/boost-*: enable C++11 featuresjbeich2017-09-2517-17/+17 * devel/icu: update to 59.1jbeich2017-09-251-1/+1 * math/hfst: unbreak with gcc7jbeich2017-09-252-1/+6 * Point WWW to the project's current location.rakuco2017-09-251-1/+1 * Update to upstream version 5.0.387.0, add pkg-message on linprocfsriggs2017-09-243-5/+11 * Remove USES=execinfo.mat2017-09-221-1/+1 * Remove bits of the MASTER_SITES, it was not returning anything.mat2017-09-221-2/+3 * Update MASTER_SITES usagesunpoet2017-09-221-2/+1 * Add some backup sites for math/mpfradamw2017-09-221-1/+3 * - Update WWWamdmi32017-09-211-1/+1 * Update to 3.1.6 release.ale2017-09-213-12/+7 * Rmath/p5-Math-Derivative: Update version 0.04=>1.01bofh2017-09-202-3/+4 * Modernise port to allow for new features in future (e.g. CilkPlus support)riggs2017-09-175-34/+36 * Update tbb to 2018 and bump dependent ports' revisionsmartymac2017-09-171-1/+1 * math/libtommath: fix PLIST, bump PORTREVISIONgahr2017-09-161-3/+4 * Update to 2.6.4sunpoet2017-09-162-4/+4 * Upgrade to 6.0.thierry2017-09-162-9/+5 * math/libtommath: update to 1.0.1, take maintainershipgahr2017-09-154-59/+55 * Fix license information for portgs that use "the same license as Perl".mat2017-09-15