summaryrefslogtreecommitdiff
path: root/pages.c
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-06 23:13:22 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-06 23:13:22 +1030
commit6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea (patch)
treed469cfc4d5d1651f6036bca7d87b8a2b2c0c587a /pages.c
parent3db6262eecfeebfbe94efd6c8fd8ba0d00874934 (diff)
downloadwebsitegenerator-6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea.tar.gz
websitegenerator-6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea.zip
remove unnecessary printf's
Diffstat (limited to 'pages.c')
-rw-r--r--pages.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pages.c b/pages.c
index 47248b1..494d7f8 100644
--- a/pages.c
+++ b/pages.c
@@ -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");