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:
parent
2948cddebf
commit
eaecb9b65c
@ -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)}.
|
||||
|
Loading…
Reference in New Issue
Block a user