diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 16:10:25 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 16:10:25 +0000 |
commit | 42b3f377da2203c5253a4fb26078c964ca074699 (patch) | |
tree | 19e0cfc14d8ea38ad8a07048bf5ac9952be058a0 /usr.sbin/hoststated/relay.c | |
parent | 71ade713505846cbd385c4554668951e2ffe732c (diff) |
handle strlcpy return values, make lint happy
Diffstat (limited to 'usr.sbin/hoststated/relay.c')
-rw-r--r-- | usr.sbin/hoststated/relay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/relay.c b/usr.sbin/hoststated/relay.c index 905bc11b32f..ee7926ba114 100644 --- a/usr.sbin/hoststated/relay.c +++ b/usr.sbin/hoststated/relay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay.c,v 1.12 2007/02/26 15:41:44 reyk Exp $ */ +/* $OpenBSD: relay.c,v 1.13 2007/02/26 16:10:24 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -714,7 +714,7 @@ relay_expand_http(struct ctl_relay_event *cre, char *val, char *buf, size_t len) struct relay *rlay = (struct relay *)con->relay; char ibuf[128]; - strlcpy(buf, val, len); + (void)strlcpy(buf, val, len); if (strstr(val, "$REMOTE_") != NULL) { if (strstr(val, "$REMOTE_ADDR") != NULL) { |