From 8422d212723d43f23c7e6973cef1aad92ca6db6f Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 24 Jan 2009 21:16:11 +0000
Subject: [PATCH] Logout ("quit") FTP session rather than just dropping
 connection.

---
 exec/qnet-ftp.src | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/exec/qnet-ftp.src b/exec/qnet-ftp.src
index 4847dd01bb..ad6506b0b1 100644
--- a/exec/qnet-ftp.src
+++ b/exec/qnet-ftp.src
@@ -178,9 +178,11 @@ if_true
 	lprintf "QNET-FTP: Downloaded %s successfully" str
 else
 	lprintf "QNET-FTP: %s NOT downloaded socket_error=%d (no new messages?)" str _socket_error
-    remove_file qwk
+	remove_file qwk
 	end_if
 
+ftp_logout sock
+
 #################
 # Exit routine	#
 #################
-- 
GitLab