hostinfo = gethostbyname(server_name);
if( hostinfo == NULL ) {
- perror( PACKAGE );
+ herror( PACKAGE );
ErrorLocation( __FILE__, __LINE__ );
goto error;
}
#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. */