projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into jennifer/trp-devel
[trust_router.git]
/
gsscon
/
gsscon_active.c
diff --git
a/gsscon/gsscon_active.c
b/gsscon/gsscon_active.c
index
f8dc166
..
1f4d91f
100755
(executable)
--- a/
gsscon/gsscon_active.c
+++ b/
gsscon/gsscon_active.c
@@
-54,6
+54,7
@@
#include <stdio.h>
#include <stdlib.h>
+#include <netdb.h>
#include <gsscon.h>
@@
-85,7
+86,7
@@
int gsscon_connect (const char *inHost, unsigned int inPort, const char *inServi
if (!err) {
hp = gethostbyname (inHost);
- if (hp == NULL) { err = errno; }
+ if (hp == NULL) { err =
h_
errno; }
}
if (!err) {