summaryrefslogtreecommitdiffstats
path: root/libssh/socket.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-04-28 17:23:47 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-04-28 17:23:47 +0200
commitecbe577be320a19ae3e3672c2f9072c55d53fa29 (patch)
treeb2534b16610ba55fd551ce3450f916aa161adb84 /libssh/socket.c
parent84db436e3bc51cc962b8c34a6b54918df3762844 (diff)
downloadlibssh-ecbe577be320a19ae3e3672c2f9072c55d53fa29.tar.gz
libssh-ecbe577be320a19ae3e3672c2f9072c55d53fa29.tar.xz
libssh-ecbe577be320a19ae3e3672c2f9072c55d53fa29.zip
Fixed warnings with clang
Diffstat (limited to 'libssh/socket.c')
-rw-r--r--libssh/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/socket.c b/libssh/socket.c
index f915b6b..3e80b89 100644
--- a/libssh/socket.c
+++ b/libssh/socket.c
@@ -577,7 +577,7 @@ int ssh_socket_wait_for_data(ssh_socket s, ssh_session session, uint32_t len) {
if (ssh_socket_is_open(session->socket)) {
r = ssh_socket_unbuffered_read(session->socket, buffer, sizeof(buffer));
} else {
- r =- 1;
+ r = -1;
}
if (r <= 0) {