From 283523c98ae4450e086a3c5cdbeab29abd26f72e Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 17 Feb 2011 21:00:20 +0000 Subject: Add a Null variable type and support for it, this is now the default Allow all config options in the config file, even in debug (console and cgi support different things, would always break) Allow multiple query params to be set in console mode Allow url params to be set in console mode Call the new dbpp finish function to do some checking --- project2/fileStrmVarWriter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'project2/fileStrmVarWriter.cpp') diff --git a/project2/fileStrmVarWriter.cpp b/project2/fileStrmVarWriter.cpp index 8b5b2ec..f2c8d7f 100644 --- a/project2/fileStrmVarWriter.cpp +++ b/project2/fileStrmVarWriter.cpp @@ -15,6 +15,9 @@ FileStreamVariableWriter::~FileStreamVariableWriter() { } +void FileStreamVariableWriter::operator()(const Null &) const { + fprintf(out, ""); +} void FileStreamVariableWriter::operator()(const long long int & i) const { fprintf(out, "%lld", i); } -- cgit v1.2.3