Commit abe74f86 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Ditto 7730b13e

parent 52b74144
......@@ -1871,7 +1871,7 @@ int main(int argc, char **argv)
{
bool color = false;
while(1) {
int flag = 0;
static int flag = 0;
static option long_options[] = {
{"verbose", no_argument, nullptr, 'v'},
{"null-out", no_argument, nullptr, 'n'},
......
......@@ -144,7 +144,7 @@ int main(int argc, char **argv)
Config config;
bool color = false;
while(1) {
int flag = 0;
static int flag = 0;
static option long_options[] = {
{"daemon", no_argument, nullptr, 'D'},
{"htdocs", required_argument, nullptr, 'd'},
......
......@@ -811,7 +811,7 @@ int main(int argc, char **argv)
std::vector<std::pair<const char*, const char*> > cmdcfgs;
while(1) {
int flag = 0;
static int flag = 0;
static option long_options[] = {
{"daemon", no_argument, nullptr, 'D'},
{"log-level", required_argument, nullptr, 'L'},
......
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