1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-06 03:50:15 +02:00

Fixed ejabberd_http:get_line

This commit is contained in:
Alexey Shchepin 2012-01-19 12:20:02 +02:00
parent 288196c7e8
commit 1ecc9ac48c

View file

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