summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2009-08-10 18:37:14 +0000
committerAdam Kocoloski <kocolosk@apache.org>2009-08-10 18:37:14 +0000
commit8c532c11c33fed30c2366b945011683c097c8293 (patch)
tree0477937cbff58907fe32b91faa5bd51c68fe9be4 /src
parent2500ff087b87ecf39db3d8ee01db0cb4822e8e08 (diff)
suppress obsolete list() guard warning
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@802886 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_util.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_util.erl b/src/couchdb/couch_util.erl
index e31bd0e7..d967b433 100644
--- a/src/couchdb/couch_util.erl
+++ b/src/couchdb/couch_util.erl
@@ -260,7 +260,7 @@ encodeBase64(<<B:1/binary>>, Acc) ->
encodeBase64(<<>>, Acc) ->
Acc.
-encodeBase64Url(Bs) when list(Bs) ->
+encodeBase64Url(Bs) when is_list(Bs) ->
encodeBase64Url(list_to_binary(Bs), <<>>);
encodeBase64Url(Bs) ->
encodeBase64Url(Bs, <<>>).