[vte] pyt: Fix syntax error due missing bracket



commit 1e455473a45ff1a03c0444345b1017ac078f9778
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Nov 29 09:45:16 2015 +0100

    pyt: Fix syntax error due missing bracket
    
    Introduced with 512b3d5cf8165ba599e7ba60a0054dcaac9a71f7

 src/pty.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/pty.cc b/src/pty.cc
index c137eb5..0bd0b0b 100644
--- a/src/pty.cc
+++ b/src/pty.cc
@@ -765,7 +765,7 @@ _vte_pty_getpt(GError **error)
         /* tty_ioctl(4) -> every read() gives an extra byte at the beginning
          * notifying us of stop/start (^S/^Q) events. */
         int one = 1;
-        if (ioctl(fd, TIOCPKT, &one) < 0)
+        if (ioctl(fd, TIOCPKT, &one) < 0) {
                 int errsv = errno;
                 g_set_error(error, VTE_PTY_ERROR,
                             VTE_PTY_ERROR_PTY98_FAILED,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]