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) {
|
switch (level) {
|
||||||
case LOG_MARK:
|
case LOG_MARK:
|
||||||
fprintf(stderr,"Info: ******************************\n");
|
fprintf(stderr,"Info: ");
|
||||||
fprintf(stderr,"Info: %s\n",(char*)&newmsg);
|
for (int j=0; j<strlen(newmsg);j++) fprintf(stderr, "*");
|
||||||
fprintf(stderr,"Info: ******************************\n");
|
fprintf(stderr,"\nInfo: %s\nInfo: ",(char*)&newmsg);
|
||||||
|
for (int j=0; j<strlen(newmsg);j++) fprintf(stderr, "*");
|
||||||
|
fprintf(stderr,"\n");
|
||||||
break;
|
break;
|
||||||
case LOG_WARNING:
|
case LOG_WARNING:
|
||||||
fprintf(stderr,"Warning: %s\n",(char*)&newmsg);
|
fprintf(stderr,"Warning: %s\n",(char*)&newmsg);
|
||||||
|
Loading…
Reference in New Issue
Block a user