From 8fe7d459e535acdb1f2975532b6f1248f5089596 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Wed, 2 Feb 2011 10:26:43 +0000 Subject: fix clause warning introduced with COUCHDB-969 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1066404 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_auth.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/couchdb') diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl index 2111c009..1639624a 100644 --- a/src/couchdb/couch_httpd_auth.erl +++ b/src/couchdb/couch_httpd_auth.erl @@ -53,7 +53,7 @@ basic_name_pw(Req) -> nil; [User, Pass] -> {User, Pass}; - [User | Pass] -> + [User | Pass] when is_list(Pass) -> {User, string:join(Pass, ":")}; [User] -> {User, ""}; -- cgit v1.2.3