diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-27 12:35:33 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-27 12:35:33 +0000 |
commit | b008b91f1d8759d560b634e333d624469c200631 (patch) | |
tree | 732dfe4ebbbf935a6ae5d9339ed405d0f64338ed /devel/libytnef | |
parent | 0fefd0eba7e33ed150ae97ab26cf7194797ce8fc (diff) | |
download | ports-b008b91f1d8759d560b634e333d624469c200631.tar.gz ports-b008b91f1d8759d560b634e333d624469c200631.zip |
Notes
Diffstat (limited to 'devel/libytnef')
-rw-r--r-- | devel/libytnef/files/patch-ytnef.c | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/devel/libytnef/files/patch-ytnef.c b/devel/libytnef/files/patch-ytnef.c index 576eef4e8395..31a054a83c24 100644 --- a/devel/libytnef/files/patch-ytnef.c +++ b/devel/libytnef/files/patch-ytnef.c @@ -1,6 +1,6 @@ ---- ./ytnef.c.orig 2004-08-26 13:09:05.000000000 -0400 -+++ ./ytnef.c 2012-05-28 14:33:34.000000000 -0400 -@@ -426,6 +426,13 @@ +--- ytnef.c.orig 2004-08-26 19:09:05.000000000 +0200 ++++ ytnef.c 2013-05-27 14:30:52.142061290 +0200 +@@ -426,6 +426,13 @@ void TNEFFillMapi(TNEFStruct *TNEF, BYTE d += num + ((num % 4) ? (4 - num%4) : 0); break; @@ -14,7 +14,7 @@ case PT_I2: // Read in 2 bytes, but proceed by 4 bytes vl->size = 2; -@@ -455,6 +462,8 @@ +@@ -455,6 +462,8 @@ void TNEFFillMapi(TNEFStruct *TNEF, BYTE memcpy(vl->data, &temp_ddword, vl->size); d+=8; break; @@ -23,3 +23,36 @@ } if (count == (mp->count-1)) { count = -1; +@@ -565,7 +574,7 @@ void TNEFPrintDate(dtr Date) { + int TNEFHexBreakdown STD_ARGLIST { + int i; + if (TNEF->Debug == 0) +- return; ++ return 0; + + printf("%s: [%i bytes] \n", TNEFList[id].name, size); + +@@ -574,13 +583,14 @@ int TNEFHexBreakdown STD_ARGLIST { + if ((i+1)%16 == 0) printf("\n"); + } + printf("\n"); ++ return 0; + } + + // ----------------------------------------------------------------------------- + int TNEFDetailedPrint STD_ARGLIST { + int i; + if (TNEF->Debug == 0) +- return; ++ return 0; + + printf("%s: [%i bytes] \n", TNEFList[id].name, size); + +@@ -588,6 +598,7 @@ int TNEFDetailedPrint STD_ARGLIST { + printf("%c", data[i]); + } + printf("\n"); ++ return 0; + } + + // ----------------------------------------------------------------------------- |