summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Dionne <bob@cloudant.com>2012-08-26 06:33:33 -0400
committerBob Dionne <bob@cloudant.com>2012-08-26 06:33:33 -0400
commit4067f743026fbaf8d48fe000d90a26a5c38c988a (patch)
treee458a19fa596c83534a4cf32ef8de4157ff3c009
parent317c97f4eb434ec962b004dc2444fc0e8bb01d5b (diff)
downloadcouchdb-4067f743026fbaf8d48fe000d90a26a5c38c988a.tar.gz
Fix typo causing undef error
-rw-r--r--src/couchdb/couch_httpd_misc_handlers.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl
index 918665bcf..f7a4d7533 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