X-Git-Url: http://git.code-monkey.de/?p=ruby-eet.git;a=blobdiff_plain;f=ext%2Fext.c;h=22ccb19aef5582dbe94c7c5d2c38760ddf3ce0e8;hp=c4082dc86b2535fa60b97232778632968e56b17b;hb=029d2a9af60b487a332420cf743da61301ccf928;hpb=deb555911974965cf23a4bcfdf79fb3b7d327663 diff --git a/ext/ext.c b/ext/ext.c index c4082dc..22ccb19 100644 --- a/ext/ext.c +++ b/ext/ext.c @@ -1,5 +1,5 @@ /* - * $Id: ext.c 60 2005-06-08 16:18:32Z tilman $ + * $Id: ext.c 61 2005-06-09 17:33:48Z tilman $ * * Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) * @@ -591,9 +591,7 @@ c_to_eet (VALUE self) args[1] = rb_funcall (stream, id_serialize, 0); chunk = rb_class_new_instance (2, args, cChunk); - stream = rb_class_new_instance (1, &chunk, cStream); - - return rb_funcall (stream, id_serialize, 0); + return rb_funcall (chunk, id_serialize, 0); } static VALUE