projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use https instead of git for Vcs-Git
[apt.git]
/
methods
/
rfc2553emu.cc
diff --git
a/methods/rfc2553emu.cc
b/methods/rfc2553emu.cc
index f00e8588960f3e2cdd892a69aa091683e7785026..37288276933bf9d112a52a2960ebbc6e336c2c32 100644
(file)
--- a/
methods/rfc2553emu.cc
+++ b/
methods/rfc2553emu.cc
@@
-154,11
+154,9
@@
int getaddrinfo(const char *nodename, const char *servname,
/* */
void freeaddrinfo(struct addrinfo *ai)
{
/* */
void freeaddrinfo(struct addrinfo *ai)
{
- struct addrinfo *Tmp;
while (ai != 0)
{
free(ai->ai_addr);
while (ai != 0)
{
free(ai->ai_addr);
- Tmp = ai;
ai = ai->ai_next;
free(ai);
}
ai = ai->ai_next;
free(ai);
}