added function name in log
This commit is contained in:
parent
4916985fe5
commit
3de517dec3
1
main.c
1
main.c
@ -59,7 +59,6 @@ char * frtime(const time_t timet)
|
|||||||
struct tm *date_tm;
|
struct tm *date_tm;
|
||||||
static char result[40];
|
static char result[40];
|
||||||
|
|
||||||
strcpy( fn, "frtime");
|
|
||||||
date_tm = localtime(&timet);
|
date_tm = localtime(&timet);
|
||||||
strftime(result, 40, "%c", date_tm);
|
strftime(result, 40, "%c", date_tm);
|
||||||
return result;
|
return result;
|
||||||
|
Reference in New Issue
Block a user