diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-10-21 10:08:21 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-10-21 10:08:21 +0000 |
commit | 7c57be7e7568fd784adf044bbe1af088f726ccf4 (patch) | |
tree | ad798790fc3422da29c33880a4f85e31d2642c50 /checkalias.c | |
parent | 5e02700dbbd1146d4d7970b9d8555bf9694a4b72 (diff) | |
download | fetchmail-7c57be7e7568fd784adf044bbe1af088f726ccf4.tar.gz fetchmail-7c57be7e7568fd784adf044bbe1af088f726ccf4.tar.bz2 fetchmail-7c57be7e7568fd784adf044bbe1af088f726ccf4.zip |
Global variable cleanup, to fix daemon mode reinitialization problems.
Patch by Sunil Shetye.
svn path=/trunk/; revision=4362
Diffstat (limited to 'checkalias.c')
-rw-r--r-- | checkalias.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/checkalias.c b/checkalias.c index 687b5478..fd00502f 100644 --- a/checkalias.c +++ b/checkalias.c @@ -30,7 +30,7 @@ typedef unsigned char address_t[sizeof (struct in_addr)]; static int getaddresses(struct addrinfo **result, const char *name) { - struct addrinfo hints, *res; + struct addrinfo hints; memset(&hints, 0, sizeof(hints)); hints.ai_socktype=SOCK_STREAM; @@ -57,8 +57,6 @@ static int is_ip_alias(const char *name1,const char *name2) */ { int rc = FALSE; - struct hostent *hp; - char **p; struct addrinfo *res1 = NULL, *res2 = NULL, *ii, *ij; |