Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sloppy bug that sneaked into the 1.93 release, call to undef function…

… in yaws_ls
  • Loading branch information...
commit 92a1a273213a3098206dc8b90a4e5c3ff4282770 1 parent 645c644
@klacke authored
Showing with 4 additions and 3 deletions.
  1. +2 −2 src/yaws_ls.erl
  2. +2 −1  src/yaws_server.erl
View
4 src/yaws_ls.erl
@@ -19,7 +19,7 @@
-define(FILE_LEN_SZ, 45).
-list_directory(Arg, CliSock, List, DirName, Req, DoAllZip) ->
+list_directory(_Arg, CliSock, List, DirName, Req, DoAllZip) ->
{abs_path, Path} = Req#http_request.path,
{DirStr, Pos, Direction, Qry} = parse_query(Path),
?Debug("List=~p Dirname~p~n", [List, DirName]),
@@ -69,7 +69,7 @@ list_directory(Arg, CliSock, List, DirName, Req, DoAllZip) ->
B = list_to_binary(Body),
yaws_server:accumulate_content(B),
- yaws_server:deliver_accumulated(Arg, CliSock, decide, undefined, final),
+ yaws_server:deliver_accumulated(CliSock),
yaws_server:done_or_continue().
parse_query(Path) ->
View
3  src/yaws_server.erl
@@ -34,7 +34,8 @@
%% internal exports
-export([gserv/3,acceptor0/2, load_and_run/2, done_or_continue/0,
- accumulate_content/1, deliver_accumulated/4, setup_dirs/1,
+ accumulate_content/1, deliver_accumulated/4, deliver_accumulated/1,
+ setup_dirs/1,
deliver_dyn_part/8, finish_up_dyn_file/2, gserv_loop/4
]).
Please sign in to comment.
Something went wrong with that request. Please try again.