X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=blobdiff_plain;f=src%2FMain.hs;h=374981248fd9bf2b17905175949914d89cea70e4;hp=e1cb91abdd0a704a05157622bf47806baa8bd24c;hb=95e23e65db31cf51c9f207a6b447da19920ee1a1;hpb=3fbc7d861d1f95513151010cd0f2d620befc2870 diff --git a/src/Main.hs b/src/Main.hs index e1cb91a..3749812 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -36,18 +36,14 @@ import ExitCodes ( exit_no_feed_hosts, exit_no_password, exit_no_username ) -import FeedHosts (FeedHosts(..)) import qualified OptionalConfiguration as OC ( OptionalConfiguration(..), from_rc ) -import Terminal (hPutRedLn, putGreenLn) +import Terminal (putGreenLn, report_error) +import TSN.FeedHosts (FeedHosts(..)) import TSN.Xml (parse_xmlfid, xml_prologue) -report_error :: String -> IO () -report_error = hPutRedLn stderr - - recv_line :: Handle -> IO String recv_line h = do line <- hGetLine h