Commit dbe287ff authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Print version number with -v option

parent 61dc1a7c
...@@ -1596,7 +1596,7 @@ void fill_default_config(Config *config) { ...@@ -1596,7 +1596,7 @@ void fill_default_config(Config *config) {
namespace { namespace {
void print_version(std::ostream &out) { void print_version(std::ostream &out) {
out << get_config()->http.server_name.c_str() << std::endl; out << "nghttpx nghttp2/" NGHTTP2_VERSION << std::endl;
} }
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment