From aea938d0111906cea5f331cdae09b871531f25c9 Mon Sep 17 00:00:00 2001 From: Okan Demirmen Date: Thu, 27 Feb 2020 14:56:40 +0000 Subject: Unrelated style fixes, consistency changes and sorting, appropriate dosage/removal of wrappers, simplification of name queue, client cycle joins other kb/mb bound functions. --- app/cwm/util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/cwm/util.c') diff --git a/app/cwm/util.c b/app/cwm/util.c index 609f51a23..cb101eec5 100644 --- a/app/cwm/util.c +++ b/app/cwm/util.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: util.c,v 1.24 2019/04/29 19:03:20 tim Exp $ + * $OpenBSD: util.c,v 1.25 2020/02/27 14:56:39 okan Exp $ */ #include @@ -92,12 +92,12 @@ u_argv(char * const *argv) char *p; if (argv == 0) - return(NULL); + return NULL; for (i = 0; argv[i]; i++) siz += strlen(argv[i]) + 1; if (siz == 0) - return(NULL); + return NULL; p = xmalloc(siz); strlcpy(p, argv[0], siz); @@ -105,7 +105,7 @@ u_argv(char * const *argv) strlcat(p, " ", siz); strlcat(p, argv[i], siz); } - return(p); + return p; } static void -- cgit v1.2.3