* Replaced serv_gets() with serv_getln() - which now requires the caller