On Thu, 4 Sep 2014 14:25:18 +0200
Juan Simón <deced...@gmail.com> 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
--- 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)
    {
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to