From: Steven Barth Date: Tue, 21 Apr 2015 07:42:17 +0000 (+0200) Subject: config: fix typo in reload_cb X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=commitdiff_plain;h=4fda796497a0d7814cfe100a1b0f09955f9b24ce config: fix typo in reload_cb --- 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(); }