ext/Blob.c in rubyfb-0.5.9 vs ext/Blob.c in rubyfb-0.6

- old
+ new

@@ -164,10 +164,10 @@ unsigned short size = 0; Data_Get_Struct(self, BlobHandle, blob); segment = loadBlobSegment(blob, &size); while(segment != NULL) { - result = rb_yield(rfbstr(connection, blob->charset, segment, size)); + result = rb_yield(rb_str_new(segment, size)); free(segment); segment = loadBlobSegment(blob, &size); } }