From: Jeffrey Altman Date: Sun, 25 May 2008 14:50:50 +0000 (+0000) Subject: DEVEL153X-udebug-display-lastyeshost-order-20080510 X-Git-Tag: openafs-devel-1_5_39~28 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c0df1b8c6ebf0bc799e2d48818fa523119843dca;p=packages%2Fo%2Fopenafs.git DEVEL153X-udebug-display-lastyeshost-order-20080510 LICENSE MIT lastYesHost is already in network byte order. do not reorder it again when displaying it. (cherry picked from commit b5dc1903a4bca5bae099beec0b95840df7282250) --- 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;