]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-05-21 19:27:15 by cjwatson]
authorcjwatson <>
Thu, 22 May 2003 02:27:15 +0000 (18:27 -0800)
committercjwatson <>
Thu, 22 May 2003 02:27:15 +0000 (18:27 -0800)
Actually use the $bug argument passed to update_realtime() rather than some
other random dynamically-scoped variable.

scripts/errorlib.in

index 09d8b3275950599add23f778fbed3b6fe32458e5..560ff4c8c738a63d4482e016d570d0d21c0f0f5f 100755 (executable)
@@ -1,5 +1,5 @@
 # -*- perl -*-
-# $Id: errorlib.in,v 1.21 2003/05/03 21:32:09 doogie Exp $
+# $Id: errorlib.in,v 1.22 2003/05/21 19:27:15 cjwatson Exp $
 
 sub F_SETLK { 6; } sub F_WRLCK{ 1; }
 $flockstruct= 'sslll'; # And there ought to be something for this too.
@@ -190,7 +190,7 @@ sub update_realtime {
        my $line;
        while($line = <IDXDB>) {
                my @line = split /\s/, $line;
-               last if ($line[1] == $ref);
+               last if ($line[1] == $bug);
                print IDXNEW $line;
        }