From: Jeffrey Altman Date: Sat, 10 May 2008 16:19:35 +0000 (+0000) Subject: udebug-display-lastyeshost-order-20080510 X-Git-Tag: openafs-devel-1_5_61~1088 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b5dc1903a4bca5bae099beec0b95840df7282250;p=packages%2Fo%2Fopenafs.git udebug-display-lastyeshost-order-20080510 LICENSE MIT lastYesHost is already in network byte order. do not reorder it again when displaying it. --- diff --git a/src/ubik/udebug.c b/src/ubik/udebug.c index 84c1b39cd..bde8dcea5 100644 --- a/src/ubik/udebug.c +++ b/src/ubik/udebug.c @@ -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;