mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 04:40:41 +08:00
src/iri.c: Use c_strcasestr instead of strcasestr
This also fixes a problem with strcasestr not being in the boostrap.conf module list. Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
This commit is contained in:
parent
0a4826f4a1
commit
cbaabe78e8
@ -32,6 +32,7 @@ base32
|
||||
bind
|
||||
c-ctype
|
||||
c-strcase
|
||||
c-strcasestr
|
||||
clock-time
|
||||
close
|
||||
connect
|
||||
|
@ -40,6 +40,7 @@ as that of the covered work. */
|
||||
#include "utils.h"
|
||||
#include "url.h"
|
||||
#include "c-strcase.h"
|
||||
#include "c-strcasestr.h"
|
||||
|
||||
/* RFC3987 section 3.1 mandates STD3 ASCII RULES */
|
||||
#define IDNA_FLAGS IDNA_USE_STD3_ASCII_RULES
|
||||
@ -56,7 +57,7 @@ parse_charset (char *str)
|
||||
if (!str || !*str)
|
||||
return NULL;
|
||||
|
||||
str = strcasestr (str, "charset=");
|
||||
str = c_strcasestr (str, "charset=");
|
||||
if (!str)
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user