| 1 | diff --git a/main.c b/main.c |
| 2 | index 664acac..d568fb1 100644 |
| 3 | |
| 4 | |
| 5 | static void callback(long inpos, int function){ |
| 6 | buffer[aheadposition+19]='>'; |
| 7 | } |
| 8 | |
| 9 | - fprintf(stderr,buffer); |
| 10 | + fprintf(stderr, "%s", buffer); |
| 11 | |
| 12 | if (logfile != NULL && function==-1) { |
| 13 | - fprintf(logfile,buffer+1); |
| 14 | + fprintf(logfile, "%s", buffer+1); |
| 15 | fprintf(logfile,"\n\n"); |
| 16 | fflush(logfile); |
| 17 | } |