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:
parent
288196c7e8
commit
1ecc9ac48c
1 changed files with 3 additions and 1 deletions
|
@ -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)}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue