diff options
author | Pacien | 2013-07-11 11:55:50 +0200 |
---|---|---|
committer | Pacien | 2013-07-11 11:55:50 +0200 |
commit | b439e1dae99a6253065b75abfb73d7aca8d8eeb5 (patch) | |
tree | 43a6dd2e859f6685e6e36847dbd6a9e7da05e7a7 | |
parent | b1886d52f4fc462edb5bdc5c18ff8cdcc3546eb8 (diff) | |
download | foldaweb-b439e1dae99a6253065b75abfb73d7aca8d8eeb5.tar.gz |
Fix missing returned value
-rw-r--r-- | dynamic.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |