From 29c5a14b2b25a1db797bb63d8c2596b91f156a0b Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Sun, 14 Oct 2018 13:24:51 +1030 Subject: no debug output --- replace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/replace.c b/replace.c index d9a0157..8fcf51d 100644 --- a/replace.c +++ b/replace.c @@ -76,11 +76,11 @@ replaceinfile(char *originalfile, char *destinationfile, char *placeholder, char i += strlen(placeholder); substr++; substr = strstr(substr, placeholder); - printf("%s", replacement); + //printf("%s", replacement); fprintf(destination, "%s", replacement); } ch = filebuffer[i]; - putchar(ch); + //putchar(ch); fputc(ch, destination); } fclose(template); -- cgit v1.2.3