Skip to content

Commit

Permalink
git-svn-id: http://monit.googlecode.com/svn/trunk@345 808b68a2-07de-1…
Browse files Browse the repository at this point in the history
…1de-a1f0-819f45317607
  • Loading branch information
mmonit@tildeslash.com committed Mar 23, 2011
1 parent 423b839 commit 9fd13c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions event.c
Expand Up @@ -407,11 +407,10 @@ const char *Event_get_description(Event_T E) {
* @return An action id
*/
short Event_get_action(Event_T E) {
Action_T A;
Action_T A = E->action->failed;

ASSERT(E);

A = E->state ? E->action->failed : E->action->succeeded;
switch (E->state) {
case STATE_SUCCEEDED:
case STATE_CHANGEDNOT:
Expand Down
2 changes: 1 addition & 1 deletion util.c
Expand Up @@ -555,7 +555,7 @@ void Util_printRunList() {
}

if(Run.mmonits) {
Mmonit_T c= Run.mmonits;
Mmonit_T c;
printf(" %-18s = ", "M/Monit(s)");
for(c= Run.mmonits; c; c= c->next) {
printf("%s with timeout %d seconds%s%s%s%s%s%s",
Expand Down

0 comments on commit 9fd13c1

Please sign in to comment.