slcanpty: code-style: add braces
PATCH 2/2 slcanpty: code-style: add braces
slcanpty: code-style: add braces
Signed-off-by Ulrich Escher <[email protected]>
From 0db3dba7450c5ec9f6fa31ff7686f7ed3536fe8d Mon Sep 17 00:00:00 2001
From: ulrich <[email protected]>
Date: Sun, 24 Feb 2013 15:57:05 +0100
Subject: [PATCH 2/2] slcanpty: code-style: add braces
Signed-off-by Ulrich Escher <[email protected]>
--- slcanpty.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
slcanpty.c +8 -6
@@ -508,16 +508,18 @@ int main(int argc, char **argv)continue ; } -if (FD_ISSET (p, &rdfs)) +if (FD_ISSET (p, &rdfs)) {if (pty2can (p, s, &fi, &is_open, &tstamp)) { - running =0 ; -continue ; + running =0 ; +continue ; + } } -if (FD_ISSET (s, &rdfs)) +if (FD_ISSET (s, &rdfs)) {if (can2pty (p, s, &tstamp)) { - running =0 ; -continue ; + running =0 ; +continue ; + } } }
Signature · 1 line
1.7.9.5