From abe16d9d51d2e377b6eaa59585ca6de42b5b4b31 Mon Sep 17 00:00:00 2001 From: Aaron McPhall Date: Wed, 13 Jun 2012 13:31:14 -0400 Subject: [PATCH] Fixed my mistakes on puzzles.cgi.c --- packages/00common/src/puzzles.cgi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/00common/src/puzzles.cgi.c b/packages/00common/src/puzzles.cgi.c index 2408fd7..be7a8e8 100644 --- a/packages/00common/src/puzzles.cgi.c +++ b/packages/00common/src/puzzles.cgi.c @@ -133,10 +133,10 @@ main(int argc, char *argv[]) long points; read_until_char(map, points_str, sizeof(points_str), ' '); - read_until_char(map, cat, sizeof(cat), '\n'); - points = atol(hash); + read_until_char(map, hash, sizeof(hash), '\n'); + points = atol(points_str); - printf(" %ld\n", cat, points, points); + printf(" %ld\n", hash, points); if (points > maxpoints) break; }