mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user