diff options
| author | Sean Finney <seanius@debian.org> | 2009-09-19 23:00:15 +0200 |
|---|---|---|
| committer | Sean Finney <seanius@debian.org> | 2009-09-19 23:00:15 +0200 |
| commit | 10544de9849f8704aaeb54388e9795f2273202a0 (patch) | |
| tree | bc8df5cffe263633f72ae3119f5127a94e0e323d /sapi/cli/php_cli.c | |
| parent | c785001d106afb1d4eb98c811a1bf2e4e06065bf (diff) | |
| download | php-10544de9849f8704aaeb54388e9795f2273202a0.tar.gz | |
Imported Upstream version 5.2.11.dfsg.1upstream/5.2.11.dfsg.1
Diffstat (limited to 'sapi/cli/php_cli.c')
| -rw-r--r-- | sapi/cli/php_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 80a096195..ba767f5d0 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_cli.c,v 1.129.2.13.2.34 2009/04/09 10:20:39 bjori Exp $ */ +/* $Id: php_cli.c 284649 2009-07-23 14:54:04Z jani $ */ #include "php.h" #include "php_globals.h" @@ -298,7 +298,7 @@ static int sapi_cli_ub_write(const char *str, uint str_length TSRMLS_DC) /* {{{ remaining -= ret; } - return str_length; + return (ptr - str); } /* }}} */ |
