X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fnetwork.c;h=b46bce7115386bdeb9cbff7ca1dae17389b783e1;hb=a1a7d5dc60fb40d39c9f1cbc6b1879bc562299a7;hp=c85ea4fd07133a727bbd9ad45f112e164e68ea1f;hpb=a40508f4bb841bba5a1a33bb2d74cf8d8a68ba08;p=dockapps%2Fwmnotify.git diff --git a/src/network.c b/src/network.c index c85ea4f..b46bce7 100644 --- a/src/network.c +++ b/src/network.c @@ -45,7 +45,7 @@ SocketOpen( char *server_name, int port ) hostinfo = gethostbyname(server_name); if( hostinfo == NULL ) { - perror( PACKAGE ); + herror( PACKAGE ); ErrorLocation( __FILE__, __LINE__ ); goto error; } @@ -194,7 +194,7 @@ WmnotifyGetResponse( char *buffer, int max_size ) #if HAVE_SSL if( wmnotify_infos.use_ssl == TRUE ) { - len = SSL_read( ssl_infos.ssl, buffer, max_size ); /* Get reply & decrypt */ + len = SSL_read( ssl_infos.ssl, buffer, max_size ); /* Get reply & decrypt. */ switch( SSL_get_error( ssl_infos.ssl, len ) ) { case SSL_ERROR_NONE: /* Success. */