Comment.
This commit is contained in:
parent
79479f0240
commit
64a3b11be6
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ struct hostent *BIO_gethostbyname(const char *name)
|
|||
|
||||
/* else add to cache */
|
||||
if (ghbn_cache[lowi].ent != NULL)
|
||||
ghbn_free(ghbn_cache[lowi].ent);
|
||||
ghbn_free(ghbn_cache[lowi].ent); /* XXX not thread-safe */
|
||||
ghbn_cache[lowi].name[0] = '\0';
|
||||
|
||||
if((ret=ghbn_cache[lowi].ent=ghbn_dup(ret)) == NULL)
|
||||
|
|
Loading…
Reference in a new issue