aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_server/httpd.erl
diff options
context:
space:
mode:
authorRory Byrne <[email protected]>2015-05-28 15:48:42 +0100
committerRory Byrne <[email protected]>2015-06-09 18:57:40 +0100
commitb74a978af2253773a2d74876d4f4abccde25a673 (patch)
treec190947394d4efe94586203b7642e9c5ff450342 /lib/inets/src/http_server/httpd.erl
parentf1dede329de90e4805cd21a43bb5b19e288c81a3 (diff)
downloadotp-b74a978af2253773a2d74876d4f4abccde25a673.tar.gz
otp-b74a978af2253773a2d74876d4f4abccde25a673.tar.bz2
otp-b74a978af2253773a2d74876d4f4abccde25a673.zip
Fix supervisor:get_childspec/2 for simple_one_for_one
A bug in supervisor:get_childspec/2 results in {error, simple_one_for_one} being returned on every call when the supervisor strategy is simple_one_for_one. This commit includes a small refactoring which brings together the two 'start_child' clauses to make the code easier to follow.
Diffstat (limited to 'lib/inets/src/http_server/httpd.erl')
0 files changed, 0 insertions, 0 deletions