aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-06 11:29:58 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-06 11:29:58 +0000
commitd35f41076143f440e59a2d99aca16f88ac75cb67 (patch)
treedaaf4ec9ee8b29ad2cf670a609f3e3dfef544c0e
parent753f4e97a272d1d0ea9a38425266539815b6dd96 (diff)
downloadruby-d35f41076143f440e59a2d99aca16f88ac75cb67.tar.gz
* ext/zlib/zlib.c (zstream_end): should return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/zlib/zlib.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 74843be2fe..608c123282 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 6 20:29:18 2005 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/zlib/zlib.c (zstream_end): should return value.
+
Thu Jan 6 19:59:03 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* win32/win32.c (rb_w32_close): didn't close socket handle.
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 1d4ce6d680..90f4d22fa9 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)) {