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