about summary refs log tree commit diff
path: root/posix/regexec.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-16 19:27:53 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-16 19:27:53 +0000
commitbf14fb7c60ffdc0024779ccfd20476538b7716ae (patch)
tree98102d8c86bdd4978dcff3a4d5db9004cd8ebfe9 /posix/regexec.c
parent380f06d3979d9608b4b9abb0540e6832adac004a (diff)
downloadglibc-bf14fb7c60ffdc0024779ccfd20476538b7716ae.tar.gz
glibc-bf14fb7c60ffdc0024779ccfd20476538b7716ae.tar.xz
glibc-bf14fb7c60ffdc0024779ccfd20476538b7716ae.zip
[BZ #6]
Update.
	* posix/regexec.c (transit_state): Fix typo in commented-out code
	[BZ #6].
Diffstat (limited to 'posix/regexec.c')
-rw-r--r--posix/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regexec.c b/posix/regexec.c
index c524ce8fb6..be361cf51f 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -2198,7 +2198,7 @@ transit_state (err, mctx, state)
 	{
 	  /* don't use transition table  */
 	  next_state = transit_state_sb (err, mctx, state);
-	  if (BE (next_state == NULL && err != REG_NOERROR, 0))
+	  if (BE (next_state == NULL && *err != REG_NOERROR, 0))
 	    return NULL;
 	}
 #endif