Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/net Nix trailing whitespace.



details:   https://anonhg.NetBSD.org/src/rev/4ea3cf22d7ba
branches:  trunk
changeset: 937888:4ea3cf22d7ba
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Aug 28 14:18:29 2020 +0000

description:
Nix trailing whitespace.

diffstat:

 tests/net/net/t_unix.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 1a02bb968b9b -r 4ea3cf22d7ba tests/net/net/t_unix.c
--- a/tests/net/net/t_unix.c    Fri Aug 28 14:07:51 2020 +0000
+++ b/tests/net/net/t_unix.c    Fri Aug 28 14:18:29 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_unix.c,v 1.23 2020/08/28 13:56:29 christos Exp $     */
+/*     $NetBSD: t_unix.c,v 1.24 2020/08/28 14:18:29 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 #define _GNU_SOURCE
 #include <sys/cdefs.h>
 #ifdef __RCSID
-__RCSID("$Id: t_unix.c,v 1.23 2020/08/28 13:56:29 christos Exp $");
+__RCSID("$Id: t_unix.c,v 1.24 2020/08/28 14:18:29 riastradh Exp $");
 #else
 #define getprogname() argv[0]
 #endif
@@ -208,7 +208,7 @@
                }
        }
        fflush(stdout);
-       
+
        CHECK_EQUAL(euid, uid, s);
        CHECK_EQUAL(egid, gid, s);
        CHECK_EQUAL(pid, checkpid, s);
@@ -237,7 +237,7 @@
                FAIL("socket(server)");
 
        slen = len + OF + 1;
-       
+
        if ((sun = calloc(1, slen)) == NULL)
                FAIL("calloc");
 
@@ -351,7 +351,7 @@
                for (size_t i = 0; i < slen - OF; i++)
                        if (sock_addr->sun_path[i] != sun->sun_path[i])
                                FAIL("sock_addr.sun_path[%zu] %d != "
-                                   "sun->sun_path[%zu] %d\n", i, 
+                                   "sun->sun_path[%zu] %d\n", i,
                                    sock_addr->sun_path[i], i,
                                    sun->sun_path[i]);
 



Home | Main Index | Thread Index | Old Index