aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien2013-07-11 11:55:50 +0200
committerPacien2013-07-11 11:55:50 +0200
commitb439e1dae99a6253065b75abfb73d7aca8d8eeb5 (patch)
tree43a6dd2e859f6685e6e36847dbd6a9e7da05e7a7
parentb1886d52f4fc462edb5bdc5c18ff8cdcc3546eb8 (diff)
downloadfoldaweb-b439e1dae99a6253065b75abfb73d7aca8d8eeb5.tar.gz
Fix missing returned value
-rw-r--r--dynamic.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dynamic.go b/dynamic.go
index e15c529..ace70ed 100644
--- a/dynamic.go
+++ b/dynamic.go
@@ -45,8 +45,8 @@ func handle(w http.ResponseWriter, r *http.Request) {
45 45
46 // parse these dirs 46 // parse these dirs
47 elements := make(map[string][]byte) 47 elements := make(map[string][]byte)
48 for i := len(dirs) - 1; i >= 0; i-- /*_, dir := range reverse dirs*/ { 48 for i := len(dirs) - 1; i >= 0; i-- {
49 parse(path.Join(*settings.sourceDir, dirs[i]), elements, settings.exts, false) 49 elements = parse(path.Join(*settings.sourceDir, dirs[i]), elements, settings.exts, false)
50 } 50 }
51 51
52 // render the page 52 // render the page