]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Consistency
authorAlan T. DeKok <aland@freeradius.org>
Wed, 17 Jun 2015 19:25:01 +0000 (15:25 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 17 Jun 2015 19:25:01 +0000 (15:25 -0400)
src/main/radclient.c

index 947010495df54315cf6564cf08574b1a1d0d27fe..0b05fd881de7c9cf9934cf645964a83694dee8b2 100644 (file)
@@ -1365,7 +1365,7 @@ int main(int argc, char **argv)
                return 1;
        }
 
-       if (dict_read(radius_dir, RADIUS_DICTIONARY) == -1) {
+       if (dict_read(radius_dir, RADIUS_DICTIONARY) < 0) {
                fr_perror("radclient");
                return 1;
        }