diff options
| author | Marcus Boerger <helly@php.net> | 2006-02-21 09:12:32 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2006-02-21 09:12:32 +0000 |
| commit | 416f3ef16024daf737addf67dd5f316efe2da171 (patch) | |
| tree | 068991d829606d2281e31e767160e9c0820cb790 /ext | |
| parent | 2e5d0a3a9d21b50df91c02d94ed923f543a0e8ea (diff) | |
| download | php-git-416f3ef16024daf737addf67dd5f316efe2da171.tar.gz | |
- Ansi compliance issue found by rob
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/reflection/php_reflection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 76a49ed644..36b58de133 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4171,6 +4171,7 @@ ZEND_METHOD(reflection_extension, getDependencies) while(dep->name) { char *relation; char *rel_type; + int len; switch(dep->type) { case MODULE_DEP_REQUIRED: @@ -4187,7 +4188,7 @@ ZEND_METHOD(reflection_extension, getDependencies) break; } - int len = spprintf(&relation, 0, "%s%s%s%s%s", + len = spprintf(&relation, 0, "%s%s%s%s%s", rel_type, dep->rel ? " " : "", dep->rel ? dep->rel : "", |
