* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2000-2002 Project Purple
+ *
+ * $Id: stats.c,v 1.11 2003/06/04 22:32:56 noodles Exp $
*/
#include <stdio.h>
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,
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++;
}