projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c2e3dd
)
Store success/failure information in correct part of record.
author
Mike Taylor
<mike@indexdata.com>
Mon, 24 Jul 2006 16:16:29 +0000
(16:16 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 24 Jul 2006 16:16:29 +0000
(16:16 +0000)
lib/ZOOM/IRSpy/Test/Ping.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Test/Ping.pm
b/lib/ZOOM/IRSpy/Test/Ping.pm
index
997cc17
..
a105a28
100644
(file)
--- a/
lib/ZOOM/IRSpy/Test/Ping.pm
+++ b/
lib/ZOOM/IRSpy/Test/Ping.pm
@@
-1,4
+1,4
@@
-# $Id: Ping.pm,v 1.8 2006-07-21 16:49:52 mike Exp $
+# $Id: Ping.pm,v 1.9 2006-07-24 16:16:29 mike Exp $
# See the "Main" test package for documentation
# See the "Main" test package for documentation
@@
-35,10
+35,9
@@
sub maybe_connected {
my $rec = $irspy->record($conn);
$irspy->log("irspy_test", $conn->option("host"),
($ok ? "" : " not"), " connected");
my $rec = $irspy->record($conn);
$irspy->log("irspy_test", $conn->option("host"),
($ok ? "" : " not"), " connected");
- $conn->option(pod_omit => 1) if !$ok;
-
- $rec->append_entry("zeerex:serverInfo", "<irspy:probe ok='$ok'>" .
+ $rec->append_entry("irspy:status", "<irspy:probe ok='$ok'>" .
isodate(time()) . "</irspy:probe>");
isodate(time()) . "</irspy:probe>");
+ $conn->option(pod_omit => 1) if !$ok;
return 0;
}
return 0;
}