From d3d987e7e5121e6a789880f5f99aba07ad942531 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 24 Jul 2006 16:16:29 +0000 Subject: [PATCH] Store success/failure information in correct part of record. --- lib/ZOOM/IRSpy/Test/Ping.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index 997cc17..a105a28 100644 --- 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 @@ -35,10 +35,9 @@ sub maybe_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", "" . + $rec->append_entry("irspy:status", "" . isodate(time()) . ""); + $conn->option(pod_omit => 1) if !$ok; return 0; } -- 1.7.10.4