X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhtml-parse.c;h=4a0a525771a97d173ee10bd713741e2c5f7a11f4;hp=cde1a6b7bd0e1c269abc2191e589b08a284c17b3;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/html-parse.c b/src/html-parse.c index cde1a6b7..4a0a5257 100644 --- a/src/html-parse.c +++ b/src/html-parse.c @@ -96,11 +96,7 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif +#include #include #include "wget.h" @@ -1014,8 +1010,7 @@ map_html_tags (const char *text, int size, taginfo.attrs = pairs; taginfo.start_position = tag_start_position; taginfo.end_position = p + 1; - /* Ta-dam! */ - (*mapfun) (&taginfo, maparg); + mapfun (&taginfo, maparg); ADVANCE (p); } goto look_for_tag;