]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
CID 1455246
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 3 Nov 2019 19:28:56 +0000 (13:28 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 3 Nov 2019 19:28:56 +0000 (13:28 -0600)
src/bin/radwho.c

index 24e768d10a211466fa696821c3fed175286c8010..0485ca5cfbaa27dd6371619d9df23d026e1875f8 100644 (file)
@@ -112,7 +112,7 @@ static char *dotime(time_t t)
         *      The caller must provide the output buffer buf
         *      (which must be at least 26 characters long)
         */
-       char buff[26];
+       static char buff[26];
        char *s = ctime_r(&t, buff);
 
        if (showname) {