• Juan Lang's avatar
    snmpapi: Relax tests to fix some failures. · dd75176d
    Juan Lang authored
    The tests were overly restrictive.  The functions are supposed to
    return values less than 0, 0, or greater than 0, whereas the tests
    restricted the return values to -1, 0, or 1.  Using less than
    0/greater than 0 comparisons rather than == -1 or == 1 should fix a
    few failing tests, and match the API descriptions better.
    dd75176d
util.c 20 KB