equal
deleted
inserted
replaced
228 case _ => |
228 case _ => |
229 var finished = false |
229 var finished = false |
230 while (!finished) { |
230 while (!finished) { |
231 connection.read_line() match { |
231 connection.read_line() match { |
232 case None => finished = true |
232 case None => finished = true |
233 case Some(line) => |
233 case Some(line) if line != "" => |
234 val (cmd, input) = Server.split_line(line) |
234 val (cmd, input) = Server.split_line(line) |
235 Server.commands.get(cmd) match { |
235 Server.commands.get(cmd) match { |
236 case None => connection.reply_error("Bad command " + quote(cmd)) |
236 case None => connection.reply_error("Bad command " + quote(cmd)) |
237 case Some(body) => |
237 case Some(body) => |
238 input match { |
238 input match { |