com php-src: fixed set process_title(): sapi/cli/php _cli_process_title.c
| From: | Anatol Belski | Date: | Fri, 23 Aug 2013 14:12:56 +0000 |
| Subject: | com php-src: fixed set process_title(): sapi/cli/php _cli_process_title.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73592@lists.php.net to get a copy of this message | ||
Commit: 3d49768cc20254649ebee4610ab62e07ab9e081b
Author: Anatol Belski <ab@php.net> Fri, 23 Aug 2013 07:12:56 -0700
Parents: 2a28a30c4d0b7ab07f1960ce76f573168700fb45
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d49768cc20254649ebee4610ab62e07ab9e081b
Log:
fixed set process_title()
Changed paths:
M sapi/cli/php_cli_process_title.c
Diff:
diff --git a/sapi/cli/php_cli_process_title.c b/sapi/cli/php_cli_process_title.c
index c50c412..c959bc6 100644
--- a/sapi/cli/php_cli_process_title.c
+++ b/sapi/cli/php_cli_process_title.c
@@ -31,10 +31,10 @@
PHP_FUNCTION(cli_set_process_title)
{
char *title = NULL;
- int title_len;
+ zend_str_size_int title_len;
int rc;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &title, &title_len)
== FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &title, &title_len)
== FAILURE) {
return;
}