ref: 251c3cd70ab1b8a574832cfbe306490ba5055010
parent: 96a7ef06b806677d3e2f1bad6146af188770bcda
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Thu Nov 17 18:53:34 EST 2011
webfs: cookie expiration
--- a/sys/src/cmd/webfs/cookies.c
+++ b/sys/src/cmd/webfs/cookies.c
@@ -927,8 +927,8 @@
int i, done;
char *t, *u, *attr, *val;
- c->expire = ~0;
memset(c, 0, sizeof *c);
+ c->expire = ~0;
/* NAME=VALUE */
t = skiptoken(p);