~ubuntu-branches/ubuntu/lucid/erlang/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/inets/src/http_server/mod_auth_plain.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
parse_passwd(Stream, PasswdList, [$#|_]) ->
209
209
    parse_passwd(Stream, PasswdList);
210
210
parse_passwd(Stream, PasswdList, Line) ->      
211
 
    case regexp:split(Line,":") of
 
211
    case inets_regexp:split(Line,":") of
212
212
        {ok, [User,Password]} ->
213
213
            parse_passwd(Stream, [{User,Password, []}|PasswdList]);
214
214
        {ok,_} ->
243
243
parse_group(Stream, GroupList, [$#|_]) ->
244
244
    parse_group(Stream, GroupList);
245
245
parse_group(Stream, GroupList, Line) ->      
246
 
    case regexp:split(Line, ":") of
 
246
    case inets_regexp:split(Line, ":") of
247
247
        {ok, [Group,Users]} ->
248
 
            {ok, UserList} = regexp:split(Users," "),
 
248
            {ok, UserList} = inets_regexp:split(Users," "),
249
249
            parse_group(Stream, [{Group,UserList}|GroupList]);
250
250
        {ok, _} ->
251
251
            {error, ?NICE(Line)}