Re: lftp 4.5.5

Jeroen Roovers <[email protected]>
Newsgroups gmane.network.lftp.user
Message-ID <[email protected]>
On Thu, 4 Sep 2014 14:25:18 +0200
Juan Simón <[email protected]> wrote:

> ftpclass.cc: In destructor 'Ftp::Connection::~Connection()':
> ftpclass.cc:1074:15: error: lvalue required as left operand of
> assignment control_ssl=0; // ssl should be freed after send/recv
>                ^
> make[1]: *** [ftpclass.lo] Error 1
> make[1]: *** Se espera a que terminen otras tareas....
> make: *** [all-recursive] Error 1

Patch attached.


Regards,
     jer

_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp
lftp-4.5.5-no_ssl.patch (text/x-patch, 220 B)
--- a/src/ftpclass.cc
+++ b/src/ftpclass.cc
@@ -1071,7 +1071,9 @@
 
    control_send=0;
    control_recv=0;
+#if USE_SSL
    control_ssl=0; // ssl should be freed after send/recv
+#endif
 
    if(control_sock!=-1)
    {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.