projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
79b54ba
)
- fix stupidities
author
Michael Wallner
<mike@php.net>
Tue, 14 Feb 2006 20:17:19 +0000
(20:17 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 14 Feb 2006 20:17:19 +0000
(20:17 +0000)
http_cookie_api.c
patch
|
blob
|
history
diff --git
a/http_cookie_api.c
b/http_cookie_api.c
index d43d0fe86850c58ca9a16368d37f851ba61519b5..fb3a9505c438634d03b94082867835f5eaa971d0 100644
(file)
--- a/
http_cookie_api.c
+++ b/
http_cookie_api.c
@@
-107,7
+107,7
@@
static inline void _http_cookie_list_set_item_ex(http_cookie_list *list, const c
} else if (!strcasecmp(key, "domain")) {
STR_SET(list->domain, estrndup(value, value_len));
} else if (!strcasecmp(key, "expires")) {
- c
onst c
har *date = estrndup(value, value_len);
+ char *date = estrndup(value, value_len);
list->expires = http_parse_date(date);
efree(date);
} else if (!strcasecmp(key, "secure")) {
@@
-321,7
+321,7
@@
failure:
http_cookie_list_dtor(list);
}
efree(s);
- return
FAILURE
;
+ return
NULL
;
}
/* }}} */