From 15d6037b80edc875f7187c27b363a6464e49e563 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 17 May 2014 22:40:40 +0200 Subject: [PATCH] fix indentation --- src/wall-notify.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wall-notify.c b/src/wall-notify.c index ab1c868..3a18244 100644 --- a/src/wall-notify.c +++ b/src/wall-notify.c @@ -82,13 +82,13 @@ static int open_tty(int public) { /* Prevent write access for other users so they can't use wall to send * messages to this program. */ if (!public) { - name = ptsname(ptm); - if (!name) { - return -1; - } - if (chmod(name, S_IRUSR | S_IWUSR) != 0) { - return -1; - } + name = ptsname(ptm); + if (!name) { + return -1; + } + if (chmod(name, S_IRUSR | S_IWUSR) != 0) { + return -1; + } } if (unlockpt(ptm) != 0) { -- 2.43.2