diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3c73753e52..047c177d52 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-18 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbwin/mapi.c + ! Fixed typo in r13235 patch. This could have caused memory + corruption and MAPI errors. + ; Please retest. + 2009-12-18 12:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * package/winuni/RELNOTES + Updated packages used by upcoming release. diff --git a/harbour/contrib/hbwin/mapi.c b/harbour/contrib/hbwin/mapi.c index a2d451a6ef..4df6fb9642 100644 --- a/harbour/contrib/hbwin/mapi.c +++ b/harbour/contrib/hbwin/mapi.c @@ -117,7 +117,7 @@ HB_FUNC( WIN_MAPISENDMAIL ) note.nRecipCount = 0; memset( note.lpRecips, 0, nRecpCount * sizeof( MapiRecipDesc ) ); - memset( note.lpRecips, 0, nFileCount * sizeof( MapiFileDesc ) ); + memset( note.lpFiles , 0, nFileCount * sizeof( MapiFileDesc ) ); if( hb_parl( 6 ) ) note.flFlags |= MAPI_RECEIPT_REQUESTED;