diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-06 11:29:58 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-06 11:29:58 +0000 |
| commit | d96756902dad30bbb10e1fddee2a68f3f03f90b8 (patch) | |
| tree | daaf4ec9ee8b29ad2cf670a609f3e3dfef544c0e /ext | |
| parent | 0956e3f41fc61dcb66d34a1c5b8cb7f179393dd3 (diff) | |
| download | ruby-d96756902dad30bbb10e1fddee2a68f3f03f90b8.tar.gz ruby-d96756902dad30bbb10e1fddee2a68f3f03f90b8.tar.xz ruby-d96756902dad30bbb10e1fddee2a68f3f03f90b8.zip | |
* ext/zlib/zlib.c (zstream_end): should return value.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 1d4ce6d68..90f4d22fa 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -682,7 +682,7 @@ zstream_end(z) if (RTEST(ruby_debug)) { rb_warning("attempt to close uninitialized zstream; ignored."); } - return; + return Qnil; } if (z->flags & ZSTREAM_FLAG_IN_STREAM) { if (RTEST(ruby_debug)) { |
