]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - stats.c
cscvs to tla changeset 83
[onak.git] / stats.c
diff --git a/stats.c b/stats.c
index 7f241ee1aad311548b6577567c6dbbbaee992dbc..6a61879814b5c88b674d8982e5ed47cf92bc9ccd 100644 (file)
--- a/stats.c
+++ b/stats.c
@@ -5,7 +5,7 @@
  *
  * Copyright 2000-2002 Project Purple
  *
- * $Id: stats.c,v 1.10 2003/06/04 20:57:13 noodles Exp $
+ * $Id: stats.c,v 1.11 2003/06/04 22:32:56 noodles Exp $
  */
 
 #include <stdio.h>
@@ -162,11 +162,17 @@ void dofindpath(uint64_t have, uint64_t want, bool html, int count)
                        hashelements(),
                        html ? "<BR>" : "");
                if (keyinfoa->colour == 0) {
-                       printf("Can't find a link from 0x%08llX to 0x%08llX"
-                               "%s\n",
+                       if (pathnum == 0) {
+                               printf("Can't find a link from 0x%08llX to "
+                               "0x%08llX%s\n",
                                have,
                                want,
                                html ? "<BR>" : "");
+                       } else {
+                               printf("Can't find any further paths%s\n",
+                                       html ? "<BR>" : "");
+                       }
+                       pathnum = count;
                } else {
                        printf("%d steps from 0x%08llX to 0x%08llX%s\n",
                                keyinfoa->colour, have & 0xFFFFFFFF,