From: Jani Taskinen Date: Mon, 5 Nov 2007 13:09:31 +0000 (+0000) Subject: - ws X-Git-Tag: RELEASE_2_0_0a1~1468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3762084319bd851bd0e9c09f7c779421a850659;p=php - ws --- diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index f967d0bd61..351710237a 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -1,4 +1,4 @@ -/* +/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ @@ -79,7 +79,7 @@ PHPAPI char *php_std_date(time_t t TSRMLS_DC) ((tm1->tm_year) % 100), tm1->tm_hour, tm1->tm_min, tm1->tm_sec); } - + str[79] = 0; return (str); } @@ -102,8 +102,7 @@ PHP_FUNCTION(strptime) char *unparsed_part; zend_uchar type; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "TT", - &ts, &ts_length, &type, &format, &format_length, &type) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "TT", &ts, &ts_length, &type, &format, &format_length, &type) == FAILURE) { return; }