25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-02 15:27:09 +01:00

Fixed ejabberd_http:get_line

This commit is contained in:
Alexey Shchepin 2012-01-19 12:20:02 +02:00
parent 2948cddebf
commit eaecb9b65c

View File

@ -1222,4 +1222,6 @@ get_line("\r\n" ++ Tail, Cur) ->
end end
end; end;
get_line([H|T], Cur) -> get_line([H|T], Cur) ->
get_line(T, [H|Cur]). get_line(T, [H|Cur]);
get_line([], Cur) ->
{incomplete, lists:reverse(Cur)}.