diff --git a/asterisk/ami.anubis b/asterisk/ami.anubis index b7c28aa..f6c100a 100644 --- a/asterisk/ami.anubis +++ b/asterisk/ami.anubis @@ -26,9 +26,9 @@ define Maybe(List(String)) //if read(conn, 16384, 5) is if read_line(conn, 80, 10) is { - error then println("Read error");failure, - timeout then println("Read timeout");failure, - eof then println("Read timeout");failure, + error then failure, + timeout then failure, + eof then failure, ok(str) then if str = crlf then (if print_dump then -- libgit2 0.21.4