[PATCH 3/5] socket-test: Fix indentation to follow project code style policy
Bill Spitzak
spitzak at gmail.com
Thu Nov 19 11:23:42 PST 2015
On Thu, Nov 19, 2015 at 1:36 AM, Bryce Harrington <bryce at osg.samsung.com>
wrote:
> From: Bryce Harrington <bryce at bryceharrington.org>
>
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
> tests/socket-test.c | 174
> ++++++++++++++++++++++++++--------------------------
> 1 file changed, 87 insertions(+), 87 deletions(-)
>
> diff --git a/tests/socket-test.c b/tests/socket-test.c
> index c53f972..f6db6cf 100644
> --- a/tests/socket-test.c
> +++ b/tests/socket-test.c
> @@ -46,129 +46,129 @@ static const struct sockaddr_un example_sockaddr_un;
> static const char *
> require_xdg_runtime_dir(void)
> {
> - char *val = getenv("XDG_RUNTIME_DIR");
> - if (!val)
> - assert(0 && "set $XDG_RUNTIME_DIR to run this test");
> + char *val = getenv("XDG_RUNTIME_DIR");
> + if (!val)
> + assert(0 && "set $XDG_RUNTIME_DIR to run
> this test");
>
How about:
assert(val && "set $XDG_RUNTIME_DIR to run this test")
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151119/3fc681e4/attachment.html>
More information about the wayland-devel
mailing list