Permalink
Browse files

fix --attempts

  • Loading branch information...
1 parent a0d347b commit 22b39f72e2cc20412eb528b8b6dd2642d281022c @tj committed Nov 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mon.c
View
@@ -420,7 +420,7 @@ on_error(command_t *self) {
static void
on_attempts(command_t *self) {
monitor_t *monitor = (monitor_t *) self->data;
- monitor->attempts = atoi(self->arg);
+ monitor->max_attempts = atoi(self->arg);
}
/*

0 comments on commit 22b39f7

Please sign in to comment.