Branch: Tag:

2004-05-20

2004-05-20 23:31:10 by Stephen R. van den Berg <srb@cuci.nl>

Support access to the mastersession-wide misc object through mastermisc.

Rev: server/plugins/protocols/ftp.pike:2.97

4:   /*    * FTP protocol mk 2    * -  * $Id: ftp.pike,v 2.96 2004/05/17 16:38:23 mani Exp $ +  * $Id: ftp.pike,v 2.97 2004/05/20 23:31:10 _cvs_stephen Exp $    *    * Henrik Grubbström <grubba@roxen.com>    */
111:    inherit RequestID;       mapping file; +  mapping mastermisc;      #ifdef FTP2_DEBUG    static void trace_enter(mixed a, mixed b)
163:       void destroy()    { +  mastermisc = 0;   #ifdef FTP_REQUESTID_DEBUG    report_debug("REQUESTID: Destroy request id #%d.\n", _num);   #endif
211:    }    }    o["misc"] = m_rid["misc"] + ([ ]); +  mastermisc = m_rid->misc;    } else {    // Defaults...    client = ({ "ftp" });