udebug-display-lastyeshost-order-20080510
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 May 2008 16:19:35 +0000 (16:19 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 10 May 2008 16:19:35 +0000 (16:19 +0000)
LICENSE MIT

lastYesHost is already in network byte order.  do not reorder it again
when displaying it.

src/ubik/udebug.c

index 84c1b39..bde8dce 100644 (file)
@@ -192,7 +192,7 @@ CommandProc(struct cmd_syndesc *as, void *arock)
     } else {
        diff = udebug.now - udebug.lastYesTime;
        printf("Last yes vote for %s was %d secs ago (%ssync site); \n",
-              afs_inet_ntoa(htonl(udebug.lastYesHost)), (int)diff,
+              afs_inet_ntoa(udebug.lastYesHost), (int)diff,
               ((udebug.lastYesState) ? "" : "not "));
 
        diff = udebug.now - udebug.lastYesClaim;