how to draw a solid with gluCylinder?

it only render a Cylinder hollow inside? Thanks

Put a gluDisk on the bottom and the top to fill the holes.