Branch: Tag:

2016-04-29

2016-04-29 12:53:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

API [Roxen.set_cookie]: Fixed the function type.

The last two arguments to Roxen.set_cookie() are flags, and should
thus accept the canonical true value (ie 1).

1:   // This is a roxen pike module. Copyright © 1999 - 2009, Roxen IS.   // - // $Id: Roxen.pmod,v 1.328 2012/03/12 12:44:27 rineke Exp $ + // $Id$      #include <roxen.h>   #include <config.h>
4959:    string value,    int|void expire_time_delta,    string|void domain, -  int(1..1)|string|void path, -  string|void secure, -  string|void httponly) +  int(0..1)|string|void path, +  int(0..1)|string|void secure, +  int(0..1)|string|void httponly)   //! Set the cookie specified by @[name] to @[value]. Adds a Set-Cookie   //! header in the response that will be made from @[id].   //!