diff --git a/example/web/web_test.cpp b/example/web/web_test.cpp index 9c2a68fcef1..ad58fea7769 100644 --- a/example/web/web_test.cpp +++ b/example/web/web_test.cpp @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) { Responder responder; server.setReader(responder); - Contact(name); + Contact contact(name); if (port_number!=0) { contact.setSocket("", "", port_number); } @@ -95,7 +95,9 @@ int main(int argc, char *argv[]) { } Bottle push; push.addString("web"); - ConstString div = ConstString("