X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhpath.c;h=5c0de0577d7c4c9e97cb508000109c14adf5bd01;hp=69ecaf2db4d21e72307520d03d90badff3f958f4;hb=33b33a0ac8a3f8f05c9bb0195c100306c00cce35;hpb=0f56dec07e0eda5042276a5e65cb51ea95c23ff9 diff --git a/uip/mhpath.c b/uip/mhpath.c index 69ecaf2..5c0de05 100644 --- a/uip/mhpath.c +++ b/uip/mhpath.c @@ -98,6 +98,14 @@ main(int argc, char **argv) if (!(mp = folder_realloc(mp, 1, mp->hghoff))) adios(NULL, "unable to allocate folder storage"); } + /* + ** TODO: As folder_realloc() checks itself if the realloc + ** really is necesary, why don't we then: + ** if (!(mp = folder_realloc (mp, 1, mp->hghmsg+1))) + ** adios (NULL, "unable to allocate folder storage"); + ** ? This at least appears most clear to me. -- meillo + */ + mp->msgflags |= ALLOW_BEYOND; /* allow the beyond sequence */