summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-08-10 16:50:43 +0100
committerRoy Marples <roy@marples.name>2019-08-10 16:50:43 +0100
commit11e30ba042fdc64a689d3acff5968bd8aa70c8bd (patch)
tree83e5a1d776758f2144d8af3e306426aae10aa3e7 /src/dhcpcd.c
parentcaf8c73d570e9fb4e79753d1dc362f264ac5d295 (diff)
downloaddhcpcd-11e30ba042fdc64a689d3acff5968bd8aa70c8bd.tar.xz
Fix control queue free argument.
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index 5b64abf4..bddd316b 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -1440,10 +1440,10 @@ dhcpcd_handleargs(struct dhcpcd_ctx *ctx, struct fd_list *fd,
* write callback on the fd */
if (strcmp(*argv, "--version") == 0) {
return control_queue(fd, UNCONST(VERSION),
- strlen(VERSION) + 1, 0);
+ strlen(VERSION) + 1, false);
} else if (strcmp(*argv, "--getconfigfile") == 0) {
return control_queue(fd, UNCONST(fd->ctx->cffile),
- strlen(fd->ctx->cffile) + 1, 0);
+ strlen(fd->ctx->cffile) + 1, false);
} else if (strcmp(*argv, "--getinterfaces") == 0) {
eloop_event_add_w(fd->ctx->eloop, fd->fd,
dhcpcd_getinterfaces, fd);