Commit 147a4913 authored by jan.koester's avatar jan.koester
Browse files

works again

# Conflicts:
#	main.cpp
parent c41bf10b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public:
                        gform.parse(curreq);
                        for (libhttppp::HttpForm::UrlcodedForm::Data * cururlform = gform.UrlFormData.getFormData(); cururlform;
                             cururlform = cururlform->nextData()) {
                            if("guestname"==cururlform->getKey()){
                            if(cururlform->getKey()=="guestname"){
                                guestname=cururlform->getValue();
                            }else if(cururlform->getKey()=="guestentry"){
                                guestentry=cururlform->getValue();
@@ -176,8 +176,8 @@ public:
                }

                libhtmlpp::HtmlString hdoc;
                libhtmlpp::print(&site,hdoc);
                resp.send(curreq,hdoc.c_str(),hdoc.size());
                libhtmlpp::print(site,hdoc);
                resp.send(curreq,hdoc.c_str(),hdoc.length());
            } catch (libhttppp::HTTPException& e) {
                if (e.getErrorType() != libhttppp::HTTPException::Note) {
                    libhttppp::HttpResponse curres;