From 27c766cb04fee0856255500f75f07e806b05854d Mon Sep 17 00:00:00 2001 From: "Kenny (kang-yen) Peng" Date: Tue, 21 Oct 2014 22:38:45 +0000 Subject: [PATCH] fix some comments and descriptions --- src/h2load.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/h2load.cc b/src/h2load.cc index a2a7b6f9..14dea93a 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -895,7 +895,7 @@ int main(int argc, char **argv) if(http_parser_parse_url(uri, strlen(uri), 0, &u) != 0 || !util::has_uri_field(u, UF_SCHEMA) || !util::has_uri_field(u, UF_HOST)) { - std::cerr << "invalid URI/URI_LIST_FILE: " << uri << std::endl; + std::cerr << "invalid URI: " << uri << std::endl; exit(EXIT_FAILURE); } @@ -927,12 +927,12 @@ int main(int argc, char **argv) } } else { if(uri_file.is_open()) { - //load rest uris from URI_LIST_FILE + //load rest uris from file while(std::getline (uri_file, line_uri)) { auto uri = (char *)line_uri.c_str(); if(http_parser_parse_url(uri, strlen(uri), 0, &u) != 0) { - std::cerr << "invalid URI in URI_LIST_FILE: " << uri << std::endl; + std::cerr << "invalid URI in input file: " << uri << std::endl; exit(EXIT_FAILURE); }