From 03762afa63c63f21c3e035aced349fb87d0352fb Mon Sep 17 00:00:00 2001 From: epoch Date: Fri, 19 Aug 2022 18:57:38 -0500 Subject: even less lines --- urigetline.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'urigetline.c') diff --git a/urigetline.c b/urigetline.c index 2de0126..71d2149 100644 --- a/urigetline.c +++ b/urigetline.c @@ -76,8 +76,7 @@ int main(int argc,char *argv[]) {//argument needs to be the URI } a=line; matches=1; - for(;a;) { - if(!*a) break; + for(;a && *a;) { rule=MATCH_PATTERN; j=0; switch(a[0]) { -- cgit v1.2.3