aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/slave.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-registry/slave.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds-registry/slave.c b/src/mds-registry/slave.c
index 1be9322..5e714d4 100644
--- a/src/mds-registry/slave.c
+++ b/src/mds-registry/slave.c
@@ -185,6 +185,7 @@ int start_slave(hash_table_t* restrict wait_set, const char* restrict recv_clien
if (monotone(&(slave->dethklok)))
goto pfail_in_mutex;
slave->dethklok.tv_sec += (time_t)atoll(ttl);
+ /* It should really be `atol`, but we want to be future proof. */
break;
}