* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2000-2002 Project Purple
+ *
+ * $Id: stats.c,v 1.12 2003/06/08 21:11:01 noodles Exp $
*/
#include <stdio.h>
* it and add its sigs to the list we want to look at.
*/
if (!((struct stats_key *)sigs->object)->disabled &&
+ !((struct stats_key *)sigs->object)->revoked &&
((struct stats_key *)sigs->object)->colour == 0) {
count++;
((struct stats_key *)sigs->object)->colour =
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++;
}