projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- ditch some warnings
[m6w6/ext-http]
/
http_date_api.c
diff --git
a/http_date_api.c
b/http_date_api.c
index 1ebef701e7eed4a2155024c2600d1ff7bdfa0dc9..3872009157a5d1ea3ace49c0c1a981a32de92ab0 100644
(file)
--- a/
http_date_api.c
+++ b/
http_date_api.c
@@
-147,7
+147,7
@@
PHP_HTTP_API char *_http_date(time_t t TSRMLS_DC)
{
struct tm *gmtime, tmbuf;
- if (
gmtime = php_gmtime_r(&t, &tmbuf
)) {
+ if (
(gmtime = php_gmtime_r(&t, &tmbuf)
)) {
char *date = ecalloc(1, 31);
snprintf(date, 30,
"%s, %02d %s %04d %02d:%02d:%02d GMT",