1
0

added function name in log

This commit is contained in:
Daniel Tartavel 2020-06-08 16:13:38 +02:00
parent 3de517dec3
commit 94198e6a25

2
main.c
View File

@ -90,7 +90,7 @@ int printlog(char str[], int level, int errnum)
{
if( strcmp(fn_tmp, fn) != 0 )
{
fprintf(fh, "***************** %s ******************", fn);
fprintf(fh, "\n---------- function %s ----------\n", fn);
strcpy(fn_tmp, fn);
}
fprintf(fh, "%s", tmp);