From e23af5e99af8a663474ff2733c03eb30355c0117 Mon Sep 17 00:00:00 2001 From: buddhamagnet Date: Thu, 5 Nov 2015 00:44:35 +0000 Subject: [PATCH] final corrections --- caddy/parse/parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddy/parse/parse.go b/caddy/parse/parse.go index cb302d41..ef33892b 100644 --- a/caddy/parse/parse.go +++ b/caddy/parse/parse.go @@ -8,7 +8,7 @@ import "io" // If checkDirectives is true, only valid directives will be allowed // otherwise we consider it a parse error. Server blocks are returned // in the order in which they appear. -func ServerBlocks(filename string, input io.Reader) ([]serverBlock, error) { +func ServerBlocks(filename string, input io.Reader, checkDirectives bool) ([]serverBlock, error) { p := parser{Dispenser: NewDispenser(filename, input)} blocks, err := p.parseAll() return blocks, err