vcl/workben/svpclient.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit 75a23240d6ac090305f18ca93094ce2739eb8646 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Oct 7 13:39:49 2014 +0200 -Werror=unused-result Change-Id: Idf10a5cb70176c24d609f70ec01c1630ab1dad37 diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index c47169c..915dd9c 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -190,10 +190,11 @@ OString MyWin::processCommand( const OString& rCommand ) } else { - write( nSocket, rCommand.getStr(), rCommand.getLength() ); - write( nSocket, "\n", 1 ); - char buf[256]; ssize_t nBytes = 0; + nBytes = write( nSocket, rCommand.getStr(), rCommand.getLength() ); + nBytes = write( nSocket, "\n", 1 ); + nBytes = 0; + char buf[256]; do { nBytes = read( nSocket, buf, sizeof(buf) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits