From 8855568c1902f824ecbe1fe345a3777e44ab9bda Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 23 Jul 2016 00:29:11 +0200 Subject: mthread: use blaze822_loop1 --- mthread.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'mthread.c') diff --git a/mthread.c b/mthread.c index 6016199..b6744ad 100644 --- a/mthread.c +++ b/mthread.c @@ -374,12 +374,10 @@ main(int argc, char *argv[]) exit(1); } - if (argc == optind && isatty(0)) { - char *all[] = { ":" }; - i = blaze822_loop(1, all, thread); - } else { + if (argc == optind && isatty(0)) + i = blaze822_loop1(":", thread); + else i = blaze822_loop(argc-optind, argv+optind, thread); - } find_roots(); if (!vflag) -- cgit 1.4.1