summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-06-10 11:11:54 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-06-10 11:11:54 +0000
commit32fae31fc36459230af5b156cc4e20b1b59bffa4 (patch)
tree8240f20c3c4e0c472956ab29f70290c127ddcacb /util.c
parent423f967a41c0e05355594895223578c3fe69baab (diff)
removed some harmless compiler warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@289 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index a9ccdde..d551cf0 100644
--- a/util.c
+++ b/util.c
@@ -100,7 +100,7 @@ char *addr2string(struct sockaddr *addr, socklen_t len) {
int connectport(int type, char *host, char *port) {
struct addrinfo hints, *res0, *res;
- int s;
+ int s = -1;
memset(&hints, 0, sizeof(hints));
hints.ai_socktype = type;