Commit 1c05470d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelinting

parent 767279e7
......@@ -382,22 +382,22 @@ main(int argc, char **argv)
ident = VSM_Dup(vut->vsm, "Arg", "-i");
else
ident = strdup("");
if (!once) {
vut->dispatch_f = accumulate;
vut->dispatch_priv = NULL;
vut->sighup_f = sighup;
if (once) {
VUT_Main(vut);
dump();
} else {
if (pthread_create(&thr, NULL, do_curses, NULL) != 0) {
fprintf(stderr, "pthread_create(): %s\n",
strerror(errno));
exit(1);
}
VUT_Main(vut);
end_of_file = 1;
AZ(pthread_join(thr, NULL));
}
vut->dispatch_f = accumulate;
vut->dispatch_priv = NULL;
vut->sighup_f = sighup;
VUT_Main(vut);
end_of_file = 1;
if (once)
dump();
else
pthread_join(thr, NULL);
VUT_Fini(&vut);
exit(0);
}
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