Commit 3209b890 authored by Leigh Stoller's avatar Leigh Stoller

Fix a couple of bugs.

parent 083d4eda
......@@ -224,7 +224,7 @@ if ($datetime) {
print "$node '$stamp' $diff $uid $pid $eid\n";
}
else {
print "$node REC $stamp $diff $uid $pid $eid\n";
print "$node REC $stamp $diff $uid $pid $eid $exptidx\n";
}
}
else {
......@@ -409,7 +409,7 @@ if ($numrecs && $numrecs < $#records) {
if (@records) {
foreach my $record (@records) {
my ($node, $stamp, $elapsed, $uid, $pid, $eid) = @$record;
my ($node, $stamp, $elapsed, $uid, $pid, $eid, $exptidx) = @$record;
if ($verbose) {
$stamp = ctime($stamp);
......@@ -417,7 +417,7 @@ if (@records) {
print "$node '$stamp' $elapsed $uid $pid $eid\n";
}
else {
print "$node REC $stamp $elapsed $uid $pid $eid\n";
print "$node REC $stamp $elapsed $uid $pid $eid $exptidx\n";
}
}
}
......
......@@ -51,7 +51,8 @@ if (isset($datetime) && $datetime != "") {
$dateopt = "&datetime=" . urlencode($datetime);
}
else {
$dateopt = "";
$dateopt = "";
$datetime = null;
}
if (isset($IP)) {
if (! preg_match('/^[0-9\.]+$/', $IP)) {
......@@ -74,14 +75,18 @@ else {
if (isset($node_id)) {
$node_opt = "&node_id=$node_id";
$form_opt = "<input type=hidden name=node_id value=$node_id>";
$IP = null;
}
else if (isset($IP)) {
$node_opt = "&IP=$IP";
$form_opt = "<input type=hidden name=IP value=$IP>";
$node_id = null;
}
else {
$node_opt = "";
$form_opt = "";
$IP = null;
$node_id = null;
}
$opts="count=$count&reverse=$reverse$node_opt$dateopt";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment