Do I want to ask why you have to multiply by 1000000000L ?
On Wed, Jul 14, 2010 at 10:15 PM, Darryl L. Pierce <dpierce(a)redhat.com> wrote:
It's now being set when each heartbeat even occurs.
Signed-off-by: Darryl L. Pierce <dpierce(a)redhat.com>
---
src/qmf/hostagent.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/qmf/hostagent.cpp b/src/qmf/hostagent.cpp
index 0c0170c..350323f 100644
--- a/src/qmf/hostagent.cpp
+++ b/src/qmf/hostagent.cpp
@@ -71,6 +71,7 @@ void
HostAgent::heartbeat(unsigned long timestamp, unsigned int sequence)
{
this->_agent->raiseEvent(_qmf::EventHeartbeat(timestamp, sequence));
+ _management_object->set_last_updated(timestamp * 1000000000L);
}
void
--
1.7.1.1
_______________________________________________
Matahari mailing list
Matahari(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/matahari