projects
/
dockapps
/
wmnotify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code reformatting
[dockapps/wmnotify.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
c85ea4f
..
b46bce7
100644
(file)
--- 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 ) {
hostinfo = gethostbyname(server_name);
if( hostinfo == NULL ) {
-
p
error( PACKAGE );
+
h
error( PACKAGE );
ErrorLocation( __FILE__, __LINE__ );
goto error;
}
ErrorLocation( __FILE__, __LINE__ );
goto error;
}
@@
-194,7
+194,7
@@
WmnotifyGetResponse( char *buffer, int max_size )
#if HAVE_SSL
if( wmnotify_infos.use_ssl == TRUE ) {
#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. */
switch( SSL_get_error( ssl_infos.ssl, len ) ) {
case SSL_ERROR_NONE:
/* Success. */