diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-17 12:19:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-17 12:19:21 +0100 |
commit | 45d9d02d715d8423ed5e786331d6e8970b86bf60 (patch) | |
tree | d27b21616c378770b8b6e9dadd4e47d530a8f872 /src/netbeans.c | |
parent | 81af9250a7655e54e4f744f2e193ecd5655336a4 (diff) | |
download | vim-git-45d9d02d715d8423ed5e786331d6e8970b86bf60.tar.gz |
updated for version 7.3.082v7.3.082
Problem: Leaking file descriptor when hostname doesn't exist.
Solution: Remove old debugging lines.
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/netbeans.c b/src/netbeans.c index 853df364a..f85e7d07d 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -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; |