about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-27 19:01:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-27 19:01:29 +0000
commit294eccacf84ac20b2ce859b680ddcdf8255769ec (patch)
tree8b35cd893c880694a692b6482a33c4f19e085afb
parent5489eab39535d798134bb29063daf6ce159902ab (diff)
downloadglibc-294eccacf84ac20b2ce859b680ddcdf8255769ec.tar.gz
glibc-294eccacf84ac20b2ce859b680ddcdf8255769ec.tar.xz
glibc-294eccacf84ac20b2ce859b680ddcdf8255769ec.zip
(DCGETTEXT): Fix typo in last change.
-rw-r--r--intl/dcgettext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index 30c5154bcc..12cd986a11 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;
 	}