hipl-core team mailing list archive
-
hipl-core team
-
Mailing list archive
-
Message #00142
[Branch ~hipl-core/hipl/trunk] Rev 4925: fixed unnecessary update right after bex
------------------------------------------------------------
revno: 4925
committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-09-03 18:21:16 +0200
message:
fixed unnecessary update right after bex
heartbeat state was not initialized.
modified:
modules/heartbeat/hipd/heartbeat.c
--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk
Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'modules/heartbeat/hipd/heartbeat.c'
--- modules/heartbeat/hipd/heartbeat.c 2010-07-16 17:49:20 +0000
+++ modules/heartbeat/hipd/heartbeat.c 2010-09-03 16:21:16 +0000
@@ -438,6 +438,8 @@
-1,
"Error on allocating memory for heartbeat_counter.\n");
+ *heartbeat_count = 0;
+
err = lmod_add_state_item(state, heartbeat_count, "heartbeat_update");
out_err: