couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r802886 - /couchdb/trunk/src/couchdb/couch_util.erl
Date Mon, 10 Aug 2009 18:37:14 GMT
Author: kocolosk
Date: Mon Aug 10 18:37:14 2009
New Revision: 802886

URL: http://svn.apache.org/viewvc?rev=802886&view=rev
Log:
suppress obsolete list() guard warning

Modified:
    couchdb/trunk/src/couchdb/couch_util.erl

Modified: couchdb/trunk/src/couchdb/couch_util.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_util.erl?rev=802886&r1=802885&r2=802886&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_util.erl (original)
+++ couchdb/trunk/src/couchdb/couch_util.erl Mon Aug 10 18:37:14 2009
@@ -260,7 +260,7 @@
 encodeBase64(<<>>, Acc) ->
     Acc.
 
-encodeBase64Url(Bs) when list(Bs) ->
+encodeBase64Url(Bs) when is_list(Bs) ->
     encodeBase64Url(list_to_binary(Bs), <<>>);
 encodeBase64Url(Bs) ->
     encodeBase64Url(Bs, <<>>).



Mime
View raw message