From 46ada7fff0bca928cca0d9d03cb0ef54b3232787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 31 May 2012 15:34:53 +0200 Subject: Add Transport:connect/3 and remove types unneeded by R15B+ Also use one export per line to improve future diffs. Bump the version to 0.2.1 to reflect this change. --- src/ranch_listener_sup.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ranch_listener_sup.erl') diff --git a/src/ranch_listener_sup.erl b/src/ranch_listener_sup.erl index c33194f..63e3ffe 100644 --- a/src/ranch_listener_sup.erl +++ b/src/ranch_listener_sup.erl @@ -16,8 +16,11 @@ -module(ranch_listener_sup). -behaviour(supervisor). --export([start_link/5]). %% API. --export([init/1]). %% supervisor. +%% API. +-export([start_link/5]). + +%% supervisor. +-export([init/1]). %% API. @@ -41,6 +44,5 @@ start_link(NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> %% supervisor. --spec init([]) -> {ok, {{one_for_all, 10, 10}, []}}. init([]) -> {ok, {{one_for_all, 10, 10}, []}}. -- cgit v1.2.3