couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject [8/8] git commit: Fix typo causing undef error
Date Sat, 13 Oct 2012 15:40:51 GMT
Fix typo causing undef error


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4067f743
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4067f743
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4067f743

Branch: refs/heads/docs
Commit: 4067f743026fbaf8d48fe000d90a26a5c38c988a
Parents: 317c97f
Author: Bob Dionne <bob@cloudant.com>
Authored: Sun Aug 26 06:33:33 2012 -0400
Committer: Bob Dionne <bob@cloudant.com>
Committed: Sun Aug 26 06:33:33 2012 -0400

----------------------------------------------------------------------
 src/couchdb/couch_httpd_misc_handlers.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4067f743/src/couchdb/couch_httpd_misc_handlers.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl
index 918665b..f7a4d75 100644
--- a/src/couchdb/couch_httpd_misc_handlers.erl
+++ b/src/couchdb/couch_httpd_misc_handlers.erl
@@ -44,7 +44,7 @@ handle_welcome_req(Req, _) ->
     send_method_not_allowed(Req, "GET,HEAD").
 
 handle_favicon_req(#httpd{method='GET'}=Req, DocumentRoot) ->
-    {{Year,Month,Day},Time} = erlang:universatime(),
+    {{Year,Month,Day},Time} = erlang:universaltime(),
     OneYearFromNow = {{Year+1,Month,Day},Time},
     CachingHeaders = [
         %favicon should expire a year from now


Mime
View raw message