25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-01 14:44:07 +02: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;
get_line([H|T], Cur) ->
get_line(T, [H|Cur]).
get_line(T, [H|Cur]);
get_line([], Cur) ->
{incomplete, lists:reverse(Cur)}.