Skip to content
Browse files

Fixed appmod problem.

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@683 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
1 parent d70b935 commit 4d398586c0f632b6c3ec1eada0508719abd7ff39 Johan Bevemyr committed Apr 23, 2004
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/yaws_config.erl
View
6 src/yaws_config.erl
@@ -792,18 +792,18 @@ is_special(C) ->
parse_appmods(['<', PathElem, ',' , AppMod, '>' | Tail], Ack) ->
- parse_appmods(Tail, [{PathElem, AppMod} |Ack]);
+ parse_appmods(Tail, [{PathElem, list_to_atom(AppMod)} |Ack]);
parse_appmods([AppMod | Tail], Ack) ->
case AppMod of
[Char] ->
case is_special(Char) of
true ->
{error, "Bad appmod syntax"};
false ->
- parse_appmods(Tail, [{AppMod, AppMod} | Ack])
+ parse_appmods(Tail, [{AppMod, list_to_atom(AppMod)} | Ack])
end;
_ ->
- parse_appmods(Tail, [{AppMod, AppMod} |Ack])
+ parse_appmods(Tail, [{AppMod, list_to_atom(AppMod)} |Ack])
end;
parse_appmods([], Ack) ->
{ok, Ack};

0 comments on commit 4d39858

Please sign in to comment.
Something went wrong with that request. Please try again.