[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/kioslave/sftp
From: İsmail Dönmez <ismail () kde ! org>
Date: 2008-01-22 4:27:08
Message-ID: 1200976028.419080.2230.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 764584 by cartman:
Fix my last commit
M +2 -2 process.cpp
--- trunk/KDE/kdebase/runtime/kioslave/sftp/process.cpp #764583:764584
@@ -421,13 +421,13 @@
// Disable OPOST processing. Otherwise, '\n' are (on Linux at least)
// translated to '\r\n'.
struct ::termios tio;
- if (!m_pPTY->tcGetAttr(&tio))
+ if (m_pPTY->tcGetAttr(&tio) < 0)
{
kError(PTYPROC) << k_lineinfo << "tcgetattr(): " << perror << "\n";
return -1;
}
tio.c_oflag &= ~OPOST;
- if (!m_pPTY->tcSetAttr(&tio))
+ if (m_pPTY->tcSetAttr(&tio) < 0)
{
kError(PTYPROC) << k_lineinfo << "tcsetattr(): " << perror << "\n";
return -1;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic