[En-Nut-Discussion] FYI: MDNSd sample added

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Apr 18 11:26:24 CEST 2016


>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:


    Ole> I can not reproduce this error, nor do I understand it :)

nut> find .. -name \*.h | xargs grep HttpRegisterRedir
../nut/include/pro/uhttp/modules/mod_redir.h: * HttpRegisterRedir\
("", "/index.html", 301);
../nut/include/pro/uhttp/modules/mod_redir.h:extern int HttpRegisterRedir\
(const char *url, const char *redir, int response);
nut> find app/mdnsd_uhttp/ -name \*.c |xargs grep mod_redir.h

You simply forgot to include <pro/uhttp/modules/mod_redir.h>

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------


More information about the En-Nut-Discussion mailing list