summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS.xml4
-rw-r--r--src/cgi_interface.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS.xml b/NEWS.xml
index d1d89f6..482e18d 100644
--- a/NEWS.xml
+++ b/NEWS.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="us-ascii"?>
<news>
+ <version version="0.0.1">
+ <ni>support for 'plain' CGI made fastcgi optional</ni>
+ <ni>portability improvements (compiles on FreeBSD)</ni>
+ </version>
<version version="0.0" date="January 29th, 2005">
<ni>Initial release</ni>
</version>
</news>
diff --git a/src/cgi_interface.cc b/src/cgi_interface.cc
index ffbd2bf..af5c020 100644
--- a/src/cgi_interface.cc
+++ b/src/cgi_interface.cc
@@ -1,16 +1,16 @@
#include "kingate/cgi_interface.h"
#include "kingate/exception.h"
namespace kingate {
bool cgi_interface::has_meta(const string& n) const {
return metavars.find(n) != metavars.end();
}
const string& cgi_interface::get_meta(const string& n) const {
metavars_t::const_iterator rv = metavars.find(n);
if(rv == metavars.end())
- throw exception_notfound(CODEPOINT,"no such meta-variable");
+ throw exception_notfound(CODEPOINT,string("no such meta-variable ('")+n+"')");
return rv->second;
}
}