projects
/
dockapps
/
wmnotify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40508f
)
Replaced use of perror() with herror() for obtaining error message of gethostbyname()
author
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 3 Oct 2005 19:06:08 +0000
(19:06 +0000)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 25 May 2013 22:55:29 +0000
(18:55 -0400)
src/network.c
patch
|
blob
|
history
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;
}