diff --git a/src/ChangeLog b/src/ChangeLog index 98c47b5e..82242a41 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-11-21 Daniel Stenberg + + * iri.c (remote_to_utf8): Remove condition that is always false + 2014-11-20 Tim Ruehsen * progress.c: Fix code for undefined USE_NLS_PROGRESS_BAR diff --git a/src/iri.c b/src/iri.c index d924699e..943b039c 100644 --- a/src/iri.c +++ b/src/iri.c @@ -1,5 +1,5 @@ /* IRI related functions. - Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2008, 2009, 2010, 2011, 2014 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -281,7 +281,7 @@ remote_to_utf8 (struct iri *iri, const char *str, const char **new) { const char *p = str; for (p = str; *p; p++) - if (*p < 0 || *p > 127) + if (*p < 0) { *new = strdup (str); return true;