From: Ulrich Drepper Date: Sun, 27 Aug 2000 19:01:29 +0000 (+0000) Subject: (DCGETTEXT): Fix typo in last change. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=294eccacf84ac20b2ce859b680ddcdf8255769ec;p=thirdparty%2Fglibc.git (DCGETTEXT): Fix typo in last change. --- diff --git a/intl/dcgettext.c b/intl/dcgettext.c index 30c5154bcc7..12cd986a117 100644 --- a/intl/dcgettext.c +++ b/intl/dcgettext.c @@ -371,8 +371,7 @@ DCGETTEXT (domainname, msgid, category) /* When this is a SUID binary we must not allow accessing files outside the dedicated directories. */ - if (ENABLE_SECURE - && memchr (single_locale, '/', single_locale) != NULL) + if (ENABLE_SECURE && strchr (single_locale, '/') != NULL) /* Ingore this entry. */ continue; }