beterraba

commit 9c0d05aa307e642aa426023256f47a90775071e9

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

server: sort imports and fix strings::fromutf8

 cmd/beterrabad/socket.ha | 18 +++++++++---------


diff --git a/cmd/beterrabad/socket.ha b/cmd/beterrabad/socket.ha
index 172cba91cbd71e96204f88af310447e3aca08760..7c110b56ced62a2d3914c71d462db2802750625f 100644
--- a/cmd/beterrabad/socket.ha
+++ b/cmd/beterrabad/socket.ha
@@ -1,19 +1,19 @@
-use io;
-use fmt;
+use bufio;
 use dirs;
-use fs;
+use encoding::utf8;
 use errors;
+use fmt;
+use fs;
+use io;
 use log;
 use net::unix;
 use net;
 use os;
-use unix::poll;
-use unix::signal;
-use unix::poll::{event};
 use path;
-use bufio;
 use strings;
-use encoding::utf8;
+use unix::poll::{event};
+use unix::poll;
+use unix::signal;
 
 type servererror = !(io::error | fs::error);
 
@@ -165,7 +165,7 @@ 	case io::error =>
 		disconnect_client(client);
 	};
 
-	let line = match (strings::try_fromutf8(bufline as []u8)) {
+	let line = match (strings::fromutf8(bufline as []u8)) {
 	case let s: str =>
 		yield s;
 	case utf8::invalid =>