gmime r1353 - in trunk: . gmime
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1353 - in trunk: . gmime
- Date: Thu, 12 Jun 2008 12:21:23 +0000 (UTC)
Author: fejj
Date: Thu Jun 12 12:21:23 2008
New Revision: 1353
URL: http://svn.gnome.org/viewvc/gmime?rev=1353&view=rev
Log:
2008-06-12 Jeffrey Stedfast <fejj novell com>
* gmime/gmime-encodings.h (GMIME_QP_ENCODE_LEN): Add an extra byte
for \n in the case of quoted_encode_close(). Thanks to Peter
Bloomfield for discovering this.
Modified:
trunk/ChangeLog
trunk/gmime/gmime-encodings.h
trunk/gmime/internet-address.c
Modified: trunk/gmime/gmime-encodings.h
==============================================================================
--- trunk/gmime/gmime-encodings.h (original)
+++ trunk/gmime/gmime-encodings.h Thu Jun 12 12:21:23 2008
@@ -78,7 +78,7 @@
* Returns: the number of output bytes needed to encode an input buffer
* of size @x using the quoted-printable encoding.
**/
-#define GMIME_QP_ENCODE_LEN(x) ((size_t) (((x) + 1) * 3))
+#define GMIME_QP_ENCODE_LEN(x) ((size_t) ((((x) + 1) * 3) + 1))
/**
Modified: trunk/gmime/internet-address.c
==============================================================================
--- trunk/gmime/internet-address.c (original)
+++ trunk/gmime/internet-address.c Thu Jun 12 12:21:23 2008
@@ -275,6 +275,7 @@
return ia->type;
}
+
/**
* internet_address_get_name:
* @ia: internet address
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]