]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Revert "Consistency"
authorAlan T. DeKok <aland@freeradius.org>
Wed, 17 Jun 2015 20:17:08 +0000 (16:17 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 17 Jun 2015 20:17:08 +0000 (16:17 -0400)
This reverts commit 874e7f08c295ccba1ff7d60dcfb0c61376d829ef.

src/main/radclient.c

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