functions.c: logmsg(): fix length of marker lines in LOG_MARK
This commit is contained in:
parent
57c93b2591
commit
c7eb144bb1
@ -463,9 +463,11 @@ void logmsg(int level, const char *msg, ...) {
|
||||
|
||||
switch (level) {
|
||||
case LOG_MARK:
|
||||
fprintf(stderr,"Info: ******************************\n");
|
||||
fprintf(stderr,"Info: %s\n",(char*)&newmsg);
|
||||
fprintf(stderr,"Info: ******************************\n");
|
||||
fprintf(stderr,"Info: ");
|
||||
for (int j=0; j<strlen(newmsg);j++) fprintf(stderr, "*");
|
||||
fprintf(stderr,"\nInfo: %s\nInfo: ",(char*)&newmsg);
|
||||
for (int j=0; j<strlen(newmsg);j++) fprintf(stderr, "*");
|
||||
fprintf(stderr,"\n");
|
||||
break;
|
||||
case LOG_WARNING:
|
||||
fprintf(stderr,"Warning: %s\n",(char*)&newmsg);
|
||||
|
Loading…
Reference in New Issue
Block a user