diff --git a/misc/ips.c b/misc/ips.c index 467cc25d..ea8eef7f 100644 --- a/misc/ips.c +++ b/misc/ips.c @@ -60,10 +60,12 @@ main(int argc, char **argv) { uint i, e; 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++;