mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00:00
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fixed typo ensuring header str is \0 terminated
This commit is contained in:
commit
54b740a7e1
@ -1055,7 +1055,7 @@ static inline void strcpy_gmt(char *ubuf, time_t *when) /* {{{ */
|
||||
res = php_gmtime_r(when, &tm);
|
||||
|
||||
if (!res) {
|
||||
buf[0] = '\0';
|
||||
ubuf[0] = '\0';
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user