Update readstream.c