You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
251 B

  1. --- a/src/ftpclass.cc
  2. +++ b/src/ftpclass.cc
  3. @@ -1071,7 +1071,9 @@ Ftp::Connection::~Connection()
  4. control_send=0;
  5. control_recv=0;
  6. +#if USE_SSL
  7. control_ssl=0; // ssl should be freed after send/recv
  8. +#endif
  9. if(control_sock!=-1)
  10. {