about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/http/http.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 9c618e3..dd4fe95 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -131,6 +131,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 			dirCount++
 		} else {
 			item.Download = true
+			fileCount++
 		}
 
 		items = append(items, item)