projects
/
dockapps
/
wmnotify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced use of perror() with herror() for obtaining error message of gethostbyname()
[dockapps/wmnotify.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
c85ea4f
..
e5eb47b
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 ) {
-
p
error( PACKAGE );
+
h
error( PACKAGE );
ErrorLocation( __FILE__, __LINE__ );
goto error;
}