Add category to URL in puzzles.cgi

This commit is contained in:
Neale Pickett 2012-06-13 11:37:13 -06:00
parent 2db81def0d
commit 622ed71052
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ main(int argc, char *argv[])
read_until_char(map, hash, sizeof(hash), '\n');
points = atol(points_str);
printf(" <a href=\"/%s/\">%ld</a>\n", hash, points);
printf(" <a href=\"/%s/%s/\">%ld</a>\n", cat, hash, points);
if (points > maxpoints) break;
}