dtmail: fix vla warning
This commit is contained in:
parent
bbba562a22
commit
2559a96ee8
|
|
@ -566,9 +566,9 @@ DmxMsg::parse (void)
|
|||
if (handleError (env, "getContents") == DTM_TRUE)
|
||||
exit (1);
|
||||
|
||||
bodyParts = new (DtMail::BodyPart *[bc]);
|
||||
bodyParts = new DtMail::BodyPart *[bc];
|
||||
cachedValues = DTM_TRUE;
|
||||
|
||||
|
||||
// cache values
|
||||
bodyParts [0] = part;
|
||||
numBPs++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue