diff options
author | Steven Barth <steven@midlink.org> | 2015-04-21 09:42:17 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-04-21 09:42:17 +0200 |
commit | 4fda796497a0d7814cfe100a1b0f09955f9b24ce (patch) | |
tree | 34582e01cdf4404d3fe752ff26b0131ee302b6d5 | |
parent | 461c4fb8fbe39fc480111ea0e7891bee9138c4d0 (diff) |
config: fix typo in reload_cb
-rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 9dbe7f0..f9ad3b8 100644 --- a/src/config.c +++ b/src/config.c @@ -695,7 +695,7 @@ static void handle_signal(int signal) static void reload_cb(struct uloop_fd *u, _unused unsigned int events) { char b[512]; - if (read(u->fd, b, sizeof(b) < 0)) {} + if (read(u->fd, b, sizeof(b)) < 0) {} odhcpd_reload(); } |