diff options
author | Daniel Jones <admin@danieljon.es> | 2020-01-06 23:13:22 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-01-06 23:13:22 +1030 |
commit | 6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea (patch) | |
tree | d469cfc4d5d1651f6036bca7d87b8a2b2c0c587a | |
parent | 3db6262eecfeebfbe94efd6c8fd8ba0d00874934 (diff) | |
download | websitegenerator-6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea.tar.gz websitegenerator-6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea.zip |
remove unnecessary printf's
-rw-r--r-- | pages.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -548,7 +548,6 @@ writeposts(const int *posts, size_t totalposts, const char *outfile, int current while (stop > (totalposts)) stop--; - printf("page number is %d\n", currentpage); int post; /* write posts to a temp file */ char source[512]; @@ -567,7 +566,6 @@ writeposts(const int *posts, size_t totalposts, const char *outfile, int current * we do this because we want page 1 to contain the last blog posts not actually the first and so on */ post = totalposts - posts[x]; - printf("page %d gets %d.txt\n", currentpage, post); fprintf(tmp, "post #%d<br>\n<a href='direct/%d.html'>direct link</a><br>\n", post, post); snprintf(source, 512, "%s%d.txt", posts_content, post); postfile = fopen(source, "r"); |