couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject svn commit: r1066403 - /couchdb/branches/1.0.x/src/couchdb/couch_httpd_auth.erl
Date Wed, 02 Feb 2011 10:26:27 GMT
Author: rnewson
Date: Wed Feb  2 10:26:27 2011
New Revision: 1066403

URL: http://svn.apache.org/viewvc?rev=1066403&view=rev
Log:
fix clause warning introduced with COUCHDB-969

Modified:
    couchdb/branches/1.0.x/src/couchdb/couch_httpd_auth.erl

Modified: couchdb/branches/1.0.x/src/couchdb/couch_httpd_auth.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/src/couchdb/couch_httpd_auth.erl?rev=1066403&r1=1066402&r2=1066403&view=diff
==============================================================================
--- couchdb/branches/1.0.x/src/couchdb/couch_httpd_auth.erl (original)
+++ couchdb/branches/1.0.x/src/couchdb/couch_httpd_auth.erl Wed Feb  2 10:26:27 2011
@@ -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, ""};



Mime
View raw message