Clear the error buffer after loading dictionaries
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 7 May 2014 14:35:01 +0000 (15:35 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 7 May 2014 14:35:11 +0000 (15:35 +0100)
src/main/radclient.c

index 5d4b963..9dc860b 100644 (file)
@@ -1180,6 +1180,7 @@ int main(int argc, char **argv)
                fr_perror("radclient");
                return 1;
        }
+       fr_strerror();  /* Clear the error buffer */
 
        /*
         *      Resolve hostname.