[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTPAPI: Error in procedure FTP_logging



   I have discovered an error in the procedure FTP_logging in FTPAPIR4 in
   the statements


        c                   eval      wkDebug = peSetting

   B01 c                   if        savSessionIdx <> -1

        c                   callp     cmd_occurSession(savSessionIdx)

   E01 c                   endif



   The problem is that wkDebug is a field in the multiple-occurrence data
   structure wkSession and the
   actual occurrence is set in the procedure cmd_occurSession !

   This way wkDebug is set for the false session.


   It should be

    B01 c                   if        savSessionIdx <> -1

        c                   callp     cmd_occurSession(savSessionIdx)

   E01 c                   endif

        c                   eval      wkDebug = peSetting



   Kind regards


   Peder Udesen

   This email and any files transmitted with it may be confidential and
   intended solely for the use of the individual or entity to which they
   are addressed. If you have received this email in error please notify
   the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------