From 6698dc20ecfac0f38d2f7eaac04c44e29ae8ebea Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Mon, 6 Jan 2020 23:13:22 +1030 Subject: remove unnecessary printf's --- pages.c | 2 -- 1 file changed, 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
\ndirect link
\n", post, post); snprintf(source, 512, "%s%d.txt", posts_content, post); postfile = fopen(source, "r"); -- cgit v1.2.3