]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Wed, 4 Mar 2026 12:02:48 +0000 (07:02 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 4 Mar 2026 12:02:48 +0000 (07:02 -0500)
src/lib/util/missing.c

index 491b4d9d3e6d13f1fc036fa9de2f74c8ed4e62d7..0f09b279a109061e763acd3326189751b520d227 100644 (file)
@@ -186,7 +186,7 @@ char *ctime_r(time_t const *l_clock, char *l_buf)
        p = ctime(l_clock);
        if (!p) return NULL:
 
-       strcpy(l_buf, ctime(l_clock));
+       strcpy(l_buf, p);
 
        return l_buf;
 }