Branch: Tag:

2009-08-19

2009-08-19 08:29:42 by Martin Stjernholm <mast@lysator.liu.se>

More robustness in CookieJar._sprintf.

Rev: server/base_server/prototypes.pike:1.258

5:   #include <config.h>   #include <module.h>   #include <module_constants.h> - constant cvs_version="$Id: prototypes.pike,v 1.257 2009/07/14 12:22:36 mast Exp $"; + constant cvs_version="$Id: prototypes.pike,v 1.258 2009/08/19 08:29:42 mast Exp $";      #ifdef DAV_DEBUG   #define DAV_WERROR(X...) werror(X)
1374:       protected string _sprintf(int fmt)    { -  return fmt == 'O' && sprintf("CookieJar(%O)", real_cookies); +  return fmt == 'O' && sprintf("CookieJar(%O)", +  RequestID::this && real_cookies);    }    }