git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
c26dc0e
)
udebug-display-lastyeshost-order-20080510
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 10 May 2008 16:19:35 +0000 (16:19 +0000)
committer
Jeffrey 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
patch
|
blob
|
history
diff --git
a/src/ubik/udebug.c
b/src/ubik/udebug.c
index
84c1b39
..
bde8dce
100644
(file)
--- 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;