diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-10-14 13:24:51 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-10-14 13:24:51 +1030 |
commit | 29c5a14b2b25a1db797bb63d8c2596b91f156a0b (patch) | |
tree | aae61f21faadaa4af682e728de4f269988619ce5 | |
parent | 27d1594517a3d242c5db411fc2f3216c3fc8dec1 (diff) | |
download | replace-29c5a14b2b25a1db797bb63d8c2596b91f156a0b.tar.gz replace-29c5a14b2b25a1db797bb63d8c2596b91f156a0b.zip |
no debug output
-rw-r--r-- | replace.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |