From fd49db2029c5930f91476623a8afb359789a9515 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 1 Feb 2001 00:29:35 +0000 Subject: If we are folding, drop the space at the end of the line. 2001-02-01 Not Zed * camel-mime-utils.c (header_fold): If we are folding, drop the space at the end of the line. svn path=/trunk/; revision=7928 --- camel/camel-mime-utils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'camel/camel-mime-utils.c') diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index b7a14992d8..0b77dbe9c8 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -3153,6 +3153,9 @@ header_fold(const char *in, int headerlen) d(printf("next word '%.*s'\n", len, inptr)); if (outlen + len > CAMEL_FOLD_SIZE) { d(printf("outlen = %d wordlen = %d\n", outlen, len)); + /* strip trailing space */ + if (out->len > 0 && out->str[out->len-1] == ' ') + g_string_truncate(out, out->len-1); g_string_append(out, "\n\t"); outlen = 1; /* check for very long words, just cut them up */ -- cgit index : freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.mat2016-04-011-10/+10
* Update security/pinentry and slave ports to 0.9.7.rakuco2016-03-012-22/+7
* GNOME 3 expects pinentry to have libsecret support. so instead of offeringkwm2015-10-061-1/+1
* Build the pinentry-gnome3 port with libsecret support. GNOME 3.18 expects it.kwm2015-08-211-0/+1
* security/pinentry:makc2015-07-171-3/+14
* security/pinentry:makc2015-07-141-1/+4
* - Update to 0.9.5.jkim2015-07-143-17/+3
* security/pinentry:makc2015-05-193-3/+23
* security/pinetry-qt4: set to use c+++11 standard (fixes gcc5)marino2015-04-211-0/+2
* security/pinentry:makc2015-03-243-15/+4
* security/pinentry:makc2015-01-211-0/+4
* security/libgcrypt: 1.6.1 -> 1.6.2, bump dependspi2015-01-031-1/+1
* security/pinentry:makc2014-12-252-35/+63
* security/pinentry:makc2014-11-141-15/+10
* security/pinentry:makc2014-11-133-19/+20
* - Drop .la files for security/libksba, no dependees require themamdmi32014-09-161-1/+1
* devel/glib12 x11-toolkits/gtk12:tijl2014-09-131-1/+1
* security/libgcrypt: 1.5.3_3 -> 1.6.1pi2014-07-301-1/+1
* Convert my ports to USES=tarmakc2014-05-121-4/+2
* Fix build on 10 and headmakc2013-11-111-0/+1
* - Support stagingmakc2013-10-231-3/+2
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-1/+2
* Add an explicit dependency on pkgconfbapt2013-09-021-1/+1
* - Update to 0.8.3makc2013-08-243-47/+5
* - Remove security/pinentry-qt: Qt3 ports are deprecated.makc2013-07-092-27/+10
* Disable Qt3 frontend: Qt3 ports are deprecated.makc2013-06-191-1/+1
* Convert USE_NCURSES by USES=ncursesbapt2013-05-061-1/+1
* Chase security/libgcrypt updateehaupt2013-05-041-2/+2
* - Convert USE_ICONV=yes to USES=iconvmva2013-04-281-1/+1
* - Fix regression introduced in my previous commit [1]makc2013-02-061-7/+5
* - Convert my ports to new options frameworkmakc2012-07-271-22/+18
* - update png to 1.5.10dinoex2012-06-011-1/+1
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-1/+0
* - Chase the libgcrypt shared lib versionswills2011-07-031-2/+2
* Add missing USE_NCURSESmakc2011-05-201-0/+1
* Update libksba to 1.2.0, and update dependent ports.dougb2011-03-281-1/+1
* Update to 0.8.1makc2010-12-312-5/+4
* - Chase libksba shlib version bump in directly-dependent portsglarkin2010-12-161-2/+2
* - Chase security/libksba shlib version bumpglarkin2010-12-161-1/+1
* Chase security/libgcrypt shlib bump.wxs2010-07-271-2/+2
* Check that at least one frontend is selectedmakc2010-06-141-1/+5
* - update to 1.4.1dinoex2010-03-281-0/+1
* Update to 0.8.0makc2010-03-072-5/+4
* - update to jpeg-8dinoex2010-02-051-1/+1
* Fix build on 6.x after recent Qt4 updatemakc2009-08-151-1/+4
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1
* Fix build with upcoming Qt-4.5.2makc2009-07-121-0/+6