aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-06-09 04:58:00 +0000
committerrsc <devnull@localhost>2007-06-09 04:58:00 +0000
commit2f9d900118318c1a820b170cc04ddf58ed1eee87 (patch)
treef816b8624a98d93f0969f2efeaad3647a1d727a9 /src/libregexp
parent63408c39a1d07b210540e33a5fec030296cc5f49 (diff)
downloadplan9port-2f9d900118318c1a820b170cc04ddf58ed1eee87.tar.gz
plan9port-2f9d900118318c1a820b170cc04ddf58ed1eee87.tar.bz2
plan9port-2f9d900118318c1a820b170cc04ddf58ed1eee87.zip
day one bug in sam regexp code
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregexp/regexec.c b/src/libregexp/regexec.c
index a00fbcbc..c04182a1 100644
--- a/src/libregexp/regexec.c
+++ b/src/libregexp/regexec.c
@@ -132,7 +132,7 @@ regexec1(Reprog *progp, /* program to run */
break;
case OR:
/* evaluate right choice later */
- if(_renewthread(tlp, inst->u1.right, ms, &tlp->se) == tle)
+ if(_renewthread(tl, inst->u1.right, ms, &tlp->se) == tle)
return -1;
/* efficiency: advance and re-evaluate */
continue;