Commit b536701f authored by kinuthia's avatar kinuthia
Browse files

replace is_number() with is_digit_only() to capture negative and decimal ID numbers

parent 7d5ef88d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1553,7 +1553,7 @@ static bool parseCmdlIVAS_dec(
                    return false;
                }

                if ( !is_number( argv[i + tmp] ) )
                if ( !is_digits_only( argv[i + tmp] ) )
                {
                    fprintf( stdout, "Error: Invalid directivity pattern ID specified: %s\n\n", argv[i + tmp] );
                    usage_dec();