Terbutaline/brethine

I was just discharged from the hospital. I went in with contractions at 23 weeks and was given an injection of terbutaline. They watched me for an hour and sent me home. 
I just looked it up and saw that te FDA does not approve this medication during pregnancy and that it's a category C med during pregnancy! Has anyone been given this med during pregnancy? Was everything okay?