aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-registry/slave.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-registry/slave.c')
-rw-r--r--src/mds-registry/slave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds-registry/slave.c b/src/mds-registry/slave.c
index 4639393..daf156a 100644
--- a/src/mds-registry/slave.c
+++ b/src/mds-registry/slave.c
@@ -1,6 +1,6 @@
/**
* mds — A micro-display server
- * Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (maandree@kth.se)
+ * Copyright © 2014, 2015, 2016, 2017 Mattias Andrée (m@maandree.se)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -183,7 +183,7 @@ start_slave(hash_table_t *restrict wait_set, const char *restrict recv_client_id
fail_if (slave->node == LINKED_LIST_UNUSED);
for (i = 0; i < received.header_count; i++) {
- if (startswith(received.headers[i], "Time to live: ")) {
+ if (strstarts(received.headers[i], "Time to live: ")) {
ttl = received.headers[i] + strlen("Time to live: ");
slave->timed = 1;
fail_if (monotone(&(slave->dethklok)));