mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.3.082
Problem: Leaking file descriptor when hostname doesn't exist. Solution: Remove old debugging lines.
This commit is contained in:
@@ -323,12 +323,6 @@ netbeans_connect(char *params, int doabort)
|
||||
server.sin_port = htons(port);
|
||||
if ((host = gethostbyname(hostname)) == NULL)
|
||||
{
|
||||
if (mch_access(hostname, R_OK) >= 0)
|
||||
{
|
||||
/* DEBUG: input file */
|
||||
sd = mch_open(hostname, O_RDONLY, 0);
|
||||
goto theend;
|
||||
}
|
||||
nbdebug(("error in gethostbyname() in netbeans_connect()\n"));
|
||||
PERROR("gethostbyname() in netbeans_connect()");
|
||||
goto theend;
|
||||
|
Reference in New Issue
Block a user