summaryrefslogtreecommitdiffabout
path: root/src
Unidiff
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/cgi_interface.cc2
1 files changed, 1 insertions, 1 deletions
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
@@ -6,11 +6,11 @@ namespace kingate {
6 bool cgi_interface::has_meta(const string& n) const { 6 bool cgi_interface::has_meta(const string& n) const {
7 return metavars.find(n) != metavars.end(); 7 return metavars.find(n) != metavars.end();
8 } 8 }
9 const string& cgi_interface::get_meta(const string& n) const { 9 const string& cgi_interface::get_meta(const string& n) const {
10 metavars_t::const_iterator rv = metavars.find(n); 10 metavars_t::const_iterator rv = metavars.find(n);
11 if(rv == metavars.end()) 11 if(rv == metavars.end())
12 throw exception_notfound(CODEPOINT,"no such meta-variable"); 12 throw exception_notfound(CODEPOINT,string("no such meta-variable ('")+n+"')");
13 return rv->second; 13 return rv->second;
14 } 14 }
15 15
16} 16}