Changeset 71
- Timestamp:
- 07/19/18 18:19:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dnsbl/DNSBL.pm
r70 r71 221 221 $sth = $dbh->prepare("UPDATE iplist SET count=count+1,". 222 222 " 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"; 224 224 } else { 225 225 die "db corrupt: found $rows matches on $rep\n";
Note:
See TracChangeset
for help on using the changeset viewer.