From 49ce386ea134b5f0c35c6d087cf22b1673431366 Mon Sep 17 00:00:00 2001
From: Jonathan McDowell <noodles@earth.li>
Date: Mon, 31 May 2004 23:47:35 +0000
Subject: [PATCH 1/1] cscvs to tla changeset 69 Author: noodles Date:
 2003/04/19 14:23:46 Move "Find reverse path" to gpgwww so we only get it
 once.

---
 gpgwww.c | 7 ++++++-
 stats.c  | 7 -------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/gpgwww.c b/gpgwww.c
index f163ca4..cd1c100 100644
--- a/gpgwww.c
+++ b/gpgwww.c
@@ -54,7 +54,12 @@ int main(int argc, char *argv[])
 		exit(1);
 	}
 
-	printf("<P>Looking for path from 0x%llX to 0x%llX</P>\n", from, to);
+	printf("<P>Looking for path from 0x%llX to 0x%llX.\n", from, to);
+	printf("<A HREF=\"gpgwww?from=0x%08llX&to=0x%08llX\">"
+			"Find reverse path</A></P>\n",
+			to,
+			from);
+
 	readconfig();
 	initlogthing("gpgwww", config.logfile);
 	initdb();
diff --git a/stats.c b/stats.c
index 61b5278..a295a1e 100644
--- a/stats.c
+++ b/stats.c
@@ -222,13 +222,6 @@ void dofindpath(uint64_t have, uint64_t want, bool html, int count)
 				curkey = findinhash(curkey->parent);
 			}
 			putchar('\n');
-			if (html) {
-				printf("<BR><A HREF=\"gpgwww?from=0x%08llX&"
-					"to=0x%08llX\">"
-					"Find reverse path</A>\n",
-					want,
-					have);
-			}
 		}
 		pathnum++;
 	}
-- 
2.39.5