]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(DCGETTEXT): Fix typo in last change.
authorUlrich Drepper <drepper@redhat.com>
Sun, 27 Aug 2000 19:01:29 +0000 (19:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 27 Aug 2000 19:01:29 +0000 (19:01 +0000)
intl/dcgettext.c

index 30c5154bcc75161f66a84ffee2600e31a595461c..12cd986a117bae6ce0e9f66cc50a1e45d0e6f0ca 100644 (file)
@@ -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;
        }