summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2018-10-15 14:46:22 +1030
committerdaniel-Jones <daniel@danieljon.es>2018-10-15 14:46:22 +1030
commit442d3a8d8fcf1a65e4584d64bab10d5651053789 (patch)
tree3aee02f31c26626ea85dc4b8408918d0fcdf5bb5
parent66daab9ae7d5ab2a03dc08e754829c84ea7678a4 (diff)
downloadreplace-442d3a8d8fcf1a65e4584d64bab10d5651053789.tar.gz
replace-442d3a8d8fcf1a65e4584d64bab10d5651053789.zip
remove d ebug commented code
-rw-r--r--replace.c2
-rw-r--r--replace.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/replace.c b/replace.c
index b8e1280..1860d9e 100644
--- a/replace.c
+++ b/replace.c
@@ -68,11 +68,9 @@ replaceinfile(char *originalfile, char *destinationfile, char *placeholder, char
i += strlen(placeholder);
substr++;
substr = strstr(substr, placeholder);
- //printf("%s", replacement);
fprintf(destination, "%s", replacement);
}
ch = filebuffer[i];
- //putchar(ch);
fputc(ch, destination);
}
fclose(template);
diff --git a/replace.h b/replace.h
index c117854..1b1d4a7 100644
--- a/replace.h
+++ b/replace.h
@@ -3,12 +3,12 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/