summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/dhclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dhclient.c b/client/dhclient.c
index 29da928b..0a92a175 100644
--- a/client/dhclient.c
+++ b/client/dhclient.c
@@ -2535,7 +2535,7 @@ void add_to_tail(struct client_lease** lease_list,
/* Find the tail */
struct client_lease* tail;
- for (tail = *lease_list; tail && tail->next; tail = tail->next);
+ for (tail = *lease_list; tail && tail->next; tail = tail->next){};
/* Ensure the tail points nowhere. */
lease->next = NULL;