You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by bi...@apache.org on 2012/08/26 12:36:08 UTC
git commit: Fix typo causing undef error
Updated Branches:
refs/heads/master 317c97f4e -> 4067f7430
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/master
Commit: 4067f743026fbaf8d48fe000d90a26a5c38c988a
Parents: 317c97f
Author: Bob Dionne <bo...@cloudant.com>
Authored: Sun Aug 26 06:33:33 2012 -0400
Committer: Bob Dionne <bo...@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