mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 19:14:23 +02:00
17 lines
432 B
Diff
17 lines
432 B
Diff
diff --git a/main.c b/main.c
|
|
index 664acac..d568fb1 100644
|
|
--- a/main.c
|
|
+++ b/main.c
|
|
@@ -588,10 +588,10 @@ static void callback(long inpos, int function){
|
|
buffer[aheadposition+19]='>';
|
|
}
|
|
|
|
- fprintf(stderr,buffer);
|
|
+ fprintf(stderr, "%s", buffer);
|
|
|
|
if (logfile != NULL && function==-1) {
|
|
- fprintf(logfile,buffer+1);
|
|
+ fprintf(logfile, "%s", buffer+1);
|
|
fprintf(logfile,"\n\n");
|
|
fflush(logfile);
|
|
}
|