On Thu, Nov 19, 2015 at 11:23:42AM -0800, Bill Spitzak wrote: > On Thu, Nov 19, 2015 at 1:36 AM, Bryce Harrington <br...@osg.samsung.com> > wrote: > > > From: Bryce Harrington <br...@bryceharrington.org> > > > > Signed-off-by: Bryce Harrington <br...@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") > > ?
Good idea _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel