Permalink
Browse files

fix setconf call for start_embedded

  • Loading branch information...
1 parent 3655d57 commit 034faa4172d79f633e7c6233e042e7deb4299b52 @vinoski vinoski committed Jul 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yaws.erl
View
@@ -140,7 +140,7 @@ start_embedded(DocRoot, SL, GL, Id) when is_list(DocRoot),is_list(SL),is_list(GL
GC = setup_gconf(GL, yaws_config:make_default_gconf(false, Id)),
SC = setup_sconf(DocRoot, #sconf{}, SL),
yaws_config:add_yaws_soap_srv(GC),
- yaws_api:setconf(GC, [SC]).
+ yaws_api:setconf(GC, [[SC]]).
add_server(DocRoot, SL) when is_list(DocRoot),is_list(SL) ->
SC = setup_sconf(DocRoot, #sconf{}, SL),

0 comments on commit 034faa4

Please sign in to comment.