summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-05-13 23:57:02 +0930
committerDaniel Jones <admin@danieljon.es>2020-05-13 23:57:57 +0930
commit341b4d2a4fb1d3bcff31ebd1230e762e20a4dbf4 (patch)
tree60adde6f4954192cacedf0e1f8a0cd068a341d5e
parent6d97cea4618b33d99f4c6022f4c628fccfd31160 (diff)
downloadwebsitegenerator-341b4d2a4fb1d3bcff31ebd1230e762e20a4dbf4.tar.gz
websitegenerator-341b4d2a4fb1d3bcff31ebd1230e762e20a4dbf4.zip
revert last fix, wasn't broken
-rw-r--r--pages.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pages.c b/pages.c
index 7f11b76..e1b3de7 100644
--- a/pages.c
+++ b/pages.c
@@ -625,7 +625,6 @@ writeposts(const int *posts, size_t totalposts, const char *outfile, int current
fprintf(tmp, "\n<a href='direct/%d.html'>", post);
for (int i = 0; i < strlen(num); i++)
{
- memset(used, -1, 3*sizeof(int));
girl_variant = rand() % 10;
while (girl_variant == used[0] || girl_variant == used[1] || girl_variant == used[2])
{