Refactor, rename restart counter and change type to char, MAX=10

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-12-13 17:58:48 +01:00
1 parent 14c0d80f63
commit b8bf26b107
2 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -101,8 +101,8 @@ typedef struct svc {
svc_block_t block; /* Reason that this service is currently stopped */
char cond[MAX_COND_LEN];
/* Incremented for each restart by service monitor. */
const unsigned int restart_counter;
/* Counters */
const char restart_cnt; /* Incremented for each restart by service monitor. */
/* For inetd services */
inetd_t inetd;