Browse Source

Bugfix: RPC: Handle LIFE_DEAD2 case

Luke Dashjr 12 years ago
parent
commit
45a60a3584
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api.c

+ 1 - 0
api.c

@@ -1387,6 +1387,7 @@ static const char *status2str(enum alive status)
 		case LIFE_SICK:
 			return SICK;
 		case LIFE_DEAD:
+		case LIFE_DEAD2:
 			return DEAD;
 		case LIFE_NOSTART:
 			return NOSTART;