From: chris mikkelson Date: Sat, 13 Mar 2010 04:40:25 +0000 (-0600) Subject: Initialize "hdralloc" field of message_state structure. X-Git-Url: https://git.mikk.net/?a=commitdiff_plain;h=ced9c7e14d1c75daa1f7ecc485e091fb32f37cf9;p=liburl Initialize "hdralloc" field of message_state structure. --- diff --git a/message.c b/message.c index 4b66878..fc4258c 100644 --- a/message.c +++ b/message.c @@ -98,8 +98,10 @@ message_start(msgproc *m) if (!ms->header) { free(ms); ms = 0; + } else { + ms->type = text_module; + ms->hdralloc = HDRALLOC; } - ms->type = text_module; } msgproc_setpriv(m, (void*)ms); }