From: Arran Cudbard-Bell Date: Thu, 31 May 2018 18:43:50 +0000 (+0600) Subject: Clear out strerror buffer to avoid spurious error messages X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b789e849313c7643ca337f4d2782592d80387bb;p=thirdparty%2Ffreeradius-server.git Clear out strerror buffer to avoid spurious error messages --- diff --git a/src/main/radclient.c b/src/main/radclient.c index d79684011ee..ad9f6c01700 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -1126,6 +1126,8 @@ static int recv_one_packet(int wait_time) stats.rejected++; } + fr_strerror(); /* Clear strerror buffer */ + /* * If we had an expected response code, check to see if the * packet matched that.