[En-Nut-Discussion] Duplicate code in httpd.c and ssi.c

Thiago A. Corrêa thiago.correa at gmail.com
Tue May 13 23:23:57 CEST 2008


Hi,

   I'm having some problems with my embedded http server that was
working before (not sure yet the causes), so I was looking at diffs
from cvs, when I stumbled uppon a duplicate function: static void
DestroyRequestInfo(REQUEST * req). It's implemented (in different
ways!) in httpd.c and ssi.c. I would like to take out the ssi one and
remove the static qualifier from the one in httpd.c so it can be
shared between the two. This will also require moving from
NutHeapAlloc to malloc in ssi.c.

   So, I would like to know your thoughts on this before hand. Btw,
anyone else having problems with their http lately?

Kind Regards,
    Thiago A. Correa



More information about the En-Nut-Discussion mailing list