summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-10-14 13:24:51 +1030
committerdaniel-Jones <daniel@danieljon.es>2018-10-14 13:24:51 +1030
commit29c5a14b2b25a1db797bb63d8c2596b91f156a0b (patch)
treeaae61f21faadaa4af682e728de4f269988619ce5
parent27d1594517a3d242c5db411fc2f3216c3fc8dec1 (diff)
downloadreplace-29c5a14b2b25a1db797bb63d8c2596b91f156a0b.tar.gz
replace-29c5a14b2b25a1db797bb63d8c2596b91f156a0b.zip
no debug output
-rw-r--r--replace.c4
1 files 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);