diff options
| author | Zeev Suraski <zeev@php.net> | 1999-05-11 16:52:58 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-05-11 16:52:58 +0000 |
| commit | ba88c0c47c1dcbf20a920ccef0e45c7d1d277905 (patch) | |
| tree | eac48b58f7f445136ccc9700bc109689d4ebbe9d /ext/standard/string.c | |
| parent | 24dff20afa4e04451a9cab24aa1dcc168ceb3947 (diff) | |
| download | php-git-ba88c0c47c1dcbf20a920ccef0e45c7d1d277905.tar.gz | |
* Move unclean_shutdown from PHP to Zend.
* The Master/Local headers in the phpinfo() table were reversed.
* Fix a gpc bug
Diffstat (limited to 'ext/standard/string.c')
| -rw-r--r-- | ext/standard/string.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index d87b57cf30..d809349bb6 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1160,7 +1160,9 @@ PHPAPI char *_php3_addslashes(char *str, int length, int *new_length, int should } } *target = 0; - if(new_length) *new_length = target - new_str; + if (new_length) { + *new_length = target - new_str; + } if (should_free) { STR_FREE(str); } |
