Oh my C background... fixed issue with checking return from the conf function