diff options
author | Alexey Shchepin <alexey@process-one.net> | 2012-01-19 12:20:02 +0200 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2012-01-19 12:20:48 +0200 |
commit | 1ecc9ac48cd262bf99b33d389bab1a7f9fed9e9b (patch) | |
tree | bd544526a31eda57b12b181649c3938c83df0b5c /src/web/ejabberd_http.erl | |
parent | Foreign shared rosters items not pushed (thanks to Nathan Bruning)(EJAB-1509) (diff) |
Fixed ejabberd_http:get_line
Diffstat (limited to '')
-rw-r--r-- | src/web/ejabberd_http.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/ejabberd_http.erl b/src/web/ejabberd_http.erl index 44d3e161..abfe4070 100644 --- a/src/web/ejabberd_http.erl +++ b/src/web/ejabberd_http.erl @@ -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)}. |