From a8e8f4615bc6f1b4c21fcd4f41ce648761f3cac4 Mon Sep 17 00:00:00 2001 From: krw Date: Tue, 26 May 2020 23:42:11 +0000 Subject: Wrap some overly long lines. --- sbin/dhclient/dhclient.c | 10 +++++++--- sbin/dhclient/kroute.c | 8 +++++--- sbin/dhclient/privsep.h | 5 +++-- 3 files changed, 15 insertions(+), 8 deletions(-) (limited to 'sbin') diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 91be80d18e4..095fb399bda 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.674 2020/05/26 23:28:40 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.675 2020/05/26 23:42:11 krw Exp $ */ /* * Copyright 2004 Henning Brauer @@ -2233,12 +2233,16 @@ res_hnok_list(const char *names) } /* - * Decode a byte string encoding a list of domain names as specified in RFC 1035 + * Decode a byte string encoding a list of domain names as specified in RFC1035 * section 4.1.4. * * The result is a string consisting of a blank separated list of domain names. * - e.g. 3:65:6e:67:5:61:70:70:6c:65:3:63:6f:6d:0:9:6d:61:72:6b:65:74:69:6e:67:c0:04 + * e.g. + * + * 3:65:6e:67:5:61:70:70:6c:65:3:63:6f:6d:0:9:6d:61:72:6b:65:74:69:6e:67:c0:04 + * + * which represents * * 3 |'e'|'n'|'g'| 5 |'a'|'p'|'p'|'l'| * 'e'| 3 |'c'|'o'|'m'| 0 | 9 |'m'|'a'| diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c index fc0c2ed090b..c52680ade56 100644 --- a/sbin/dhclient/kroute.c +++ b/sbin/dhclient/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.183 2020/05/21 12:31:02 krw Exp $ */ +/* $OpenBSD: kroute.c,v 1.184 2020/05/26 23:42:11 krw Exp $ */ /* * Copyright 2012 Kenneth R Westerback @@ -900,7 +900,8 @@ priv_propose(char *name, int ioctlfd, struct proposal *proposal, char *search = NULL; int rslt; - if (sz != proposal->routes_len + proposal->domains_len + proposal->ns_len) { + if (sz != proposal->routes_len + proposal->domains_len + + proposal->ns_len) { log_warnx("%s: bad IMSG_PROPOSE data", log_procname); return; } @@ -1008,7 +1009,8 @@ tell_unwind(struct unwind_info *unwind_info, int ifi_flags) } void -priv_tell_unwind(int index, int routefd, int rdomain, struct unwind_info *unwind_info) +priv_tell_unwind(int index, int routefd, int rdomain, + struct unwind_info *unwind_info) { struct rt_msghdr rtm; struct sockaddr_rtdns rtdns; diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h index de2d9a6448f..069a4fb6100 100644 --- a/sbin/dhclient/privsep.h +++ b/sbin/dhclient/privsep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.h,v 1.67 2020/05/20 23:54:53 krw Exp $ */ +/* $OpenBSD: privsep.h,v 1.68 2020/05/26 23:42:11 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer @@ -41,7 +41,8 @@ struct unwind_info { void dispatch_imsg(char *, int, int, int, struct imsgbuf *); void priv_write_resolv_conf(int, int, int, char *, int *); -void priv_propose(char *, int, struct proposal *, size_t, char **, int, int, int); +void priv_propose(char *, int, struct proposal *, size_t, char **, int, int, + int); void priv_revoke_proposal(char *, int, struct proposal *, char **); -- cgit v1.2.3-59-g8ed1b