From f99a2c6bb87f6099893f1784e697cd0f292db4d4 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Wed, 1 Dec 2010 22:57:50 +0000 Subject: [PATCH] Make sure we're using SVN ragel; add default Link constructor. --- server/config/Makefile | 2 +- server/config/config.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/server/config/Makefile b/server/config/Makefile index 38ce507..52b0f22 100644 --- a/server/config/Makefile +++ b/server/config/Makefile @@ -12,5 +12,5 @@ GOFILES=\ include $(GOROOT)/src/Make.pkg parser.go: parser.rl - ragel -Z -G2 -o parser.go parser.rl + ragel-svn -Z -G2 -o parser.go parser.rl diff --git a/server/config/config.go b/server/config/config.go index 7209ef6..0d44082 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -137,6 +137,12 @@ type cLink struct { SSL, Zip, Auto bool } +func defaultLink() *cLink { + return &cLink{ + SSL: false, Zip: false, Auto: false, + } +} + /* Static ban configuration */ type cBan interface { Match(string) bool