Branch: Tag:

2010-05-06

2010-05-06 22:41:57 by Martin Stjernholm <mast@lysator.liu.se>

Some disabled debug code.

Rev: server/base_server/prototypes.pike:1.268

5:   #include <config.h>   #include <module.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.267 2010/05/06 22:41:25 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.268 2010/05/06 22:41:57 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
893:    if (!activate_immediately) activation_cbs = ({});    }    + #if 0 +  protected void destroy() +  { +  if (activation_cbs) +  werror ("%O: activation list size at destroy: %d\n", +  this, sizeof (activation_cbs)); +  } + #endif +     void add_activation_cb (CacheActivationCB cb, mixed... args)    //! Register a callback that will be called if and when this cache    //! key is used in a cache, i.e. is activated. The callback gets