From 39a8009e787958d00f1be5e256dcb0350dbb548e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 11 Mar 2009 09:53:56 +0000 Subject: [PATCH] Remove ssh_say. Aris, how should we print an error? git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@257 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/socket.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libssh/socket.c b/libssh/socket.c index c4e6fe71..f95a2dcc 100644 --- a/libssh/socket.c +++ b/libssh/socket.c @@ -72,12 +72,16 @@ struct socket { * \internal * \brief inits the socket system (windows specific) */ -void ssh_socket_init(void){ +void ssh_socket_init(void) { #ifdef _WIN32 - struct WSAData wsaData; - if (WSAStartup(MAKEWORD(2, 0), &wsaData)) { - ssh_say(1,"Error initialising Windows sockets.\n"); - } + struct WSAData wsaData; + + if (WSAStartup(MAKEWORD(2, 0), &wsaData)) { + /* FIXME print error */ + } +#else + /* not useed in unix */ + (void) session; #endif } /*