aboutsummaryrefslogtreecommitdiff
path: root/libssh/socket.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-06-21 12:15:27 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-06-21 12:15:27 +0000
commit0d1e22f5f883e1c95a87698cc9a0b48371665623 (patch)
tree1bbb6fabb0cbae1680d17671e6582d98243dfe4e /libssh/socket.c
parent3fb274ca8402198d8540388503c1c4256378c80a (diff)
downloadlibssh-0d1e22f5f883e1c95a87698cc9a0b48371665623.tar.gz
libssh-0d1e22f5f883e1c95a87698cc9a0b48371665623.tar.xz
libssh-0d1e22f5f883e1c95a87698cc9a0b48371665623.zip
Resolved the unitialized data_except member variable in socket.c, thanks
Norbert git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@177 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/socket.c')
-rw-r--r--libssh/socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libssh/socket.c b/libssh/socket.c
index 70c73405..56687305 100644
--- a/libssh/socket.c
+++ b/libssh/socket.c
@@ -72,6 +72,9 @@ struct socket *ssh_socket_new(SSH_SESSION *session){
s->session=session;
s->in_buffer=buffer_new();
s->out_buffer=buffer_new();
+ s->data_to_read=0;
+ s->data_to_write=0;
+ s->data_except=0;
return s;
}