about summary refs log tree commit diff
path: root/Src/Modules/zftp.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-10-26 12:06:38 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-10-26 12:06:38 +0000
commit6d798f67001b480d2fc031fc858634e9dc3fe159 (patch)
treeffa695a75dc096df9ca4801189099a73fd6f7656 /Src/Modules/zftp.c
parentf1a55ddaa932520e637207973320f4e96b709131 (diff)
downloadzsh-6d798f67001b480d2fc031fc858634e9dc3fe159.tar.gz
zsh-6d798f67001b480d2fc031fc858634e9dc3fe159.tar.xz
zsh-6d798f67001b480d2fc031fc858634e9dc3fe159.zip
16172: freehostent -> zfreehostent to avoid name clash
Diffstat (limited to 'Src/Modules/zftp.c')
-rw-r--r--Src/Modules/zftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index 39df87fd7..8dda5f1a8 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -1793,7 +1793,7 @@ zftp_open(char *name, char **args, int flags)
 		tcp_close(zfsess->control);
 		zfsess->control = NULL;
 	    }
-	    freehostent(zhostp);
+	    zfreehostent(zhostp);
 	    zfunsetparam("ZFTP_HOST");
 	    FAILED();
 	    zwarnnam(name, "socket failed: %e", NULL, errno);
@@ -1821,7 +1821,7 @@ zftp_open(char *name, char **args, int flags)
 	}
 
 	if (err) {
-	    freehostent(zhostp);
+	    zfreehostent(zhostp);
 	    zfclose(0);
 	    FAILED();
 	    zwarnnam(name, "connect failed: %e", NULL, errno);
@@ -1842,7 +1842,7 @@ zftp_open(char *name, char **args, int flags)
 	zsh_inet_ntop(af, *addrp, pbuf, sizeof(pbuf));
 	zfsetparam("ZFTP_IP", ztrdup(pbuf), ZFPM_READONLY);
     }
-    freehostent(zhostp);
+    zfreehostent(zhostp);
     /* now we can talk to the control connection */
     zcfinish = 0;