Changeset 71


Ignore:
Timestamp:
07/19/18 18:19:34 (6 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Fix missed fragment in adding exclusions in r66

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/DNSBL.pm

    r70 r71  
    221221        $sth = $dbh->prepare("UPDATE iplist SET count=count+1,".
    222222                " exclude=".($exclude ? "'y'" : "'n'"). " WHERE ip=?");
    223         $sth->execute($rep) or die "couldn't update listing for $rep: ".$dbh->errstr."\n";
     223        $sth->execute($exclude, $rep) or die "couldn't update listing for $rep: ".$dbh->errstr."\n";
    224224      } else {
    225225        die "db corrupt: found $rows matches on $rep\n";
Note: See TracChangeset for help on using the changeset viewer.