usage(void)
{
std::cerr <<
- "Usage: " << program_name << " [-d] [-h]" << std::endl <<
- " -d enable debugging." << std::endl <<
- " -h this message" << std::endl << std::endl;
+ "Usage: " << program_name << " [-d] [-h]" << std::endl <<
+ " -d enable debugging." << std::endl <<
+ " -h this message" << std::endl << std::endl;
}
static void
exit(0);
default:
std::cerr << program_name << ": FATAL: unknown option: -" <<
- static_cast<char>(optopt) << ". Exiting" << std::endl;
+ static_cast<char>(optopt) << ". Exiting" << std::endl;
usage();
exit(1);
}
process_options(argc, argv);
ndebug(program_name << ' ' << VERSION << ' ' << SQUID_BUILD_INFO <<
- " starting up...");
+ " starting up...");
std::string buf;
while (getline(std::cin,buf)) { // will return false at EOF
ndebug("Got " << buf.length() << " bytes '" << buf << "' from Squid");
SEND_OK("");
}
ndebug(program_name << ' ' << VERSION << ' ' << SQUID_BUILD_INFO <<
- " shutting down...");
+ " shutting down...");
return 0;
}