Hello,

I found some bad indenting of if/else statements. Please see the attached
patch.
commit 55ef93b9773f1f92d4d6f67cdbc40f98795d00fc
Author: Alexander Zubkov <gr...@qrator.net>
Date:   Mon Jan 23 02:44:47 2023 +0100

    fix confusing spacing
    
    "else" clause was indented to the wrong "if" statement

diff --git a/misc/ips.c b/misc/ips.c
index 467cc25d..aeff54bd 100644
--- a/misc/ips.c
+++ b/misc/ips.c
@@ -62,8 +62,8 @@ main(int argc, char **argv)
 	    if (scanf("%x/%d", &i, &e) != 2)
 	      if (feof(stdin))
 		break;
-	    else
-	      fprintf(stderr, "BUGGG\n");
+	      else
+		fprintf(stderr, "BUGGG\n");
 //	    i >>= (32-e);
 //	    i |= (i >> e);
             cnt++;

Reply via email to