git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0a2c144
)
uuid-corrected-duplicate-check-20080501
author
Derrick Brashear
<shadow@dementia.org>
Thu, 1 May 2008 20:00:00 +0000 (20:00 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 1 May 2008 20:00:00 +0000 (20:00 +0000)
LICENSE IPL10
apply check to chain, not input
src/viced/host.c
patch
|
blob
|
history
diff --git
a/src/viced/host.c
b/src/viced/host.c
index
969c4b2
..
28ba0e1
100644
(file)
--- a/
src/viced/host.c
+++ b/
src/viced/host.c
@@
-1157,7
+1157,8
@@
h_AddHostToUuidHashTable_r(struct afsUUID *uuid, struct host *host)
/* don't add the same entry multiple times */
for (chain = hostUuidHashTable[index]; chain; chain = chain->next) {
- if (host->interface && afs_uuid_equal(&host->interface->uuid, uuid))
+ if (chain->hostPtr->interface &&
+ afs_uuid_equal(&chain->hostPtr->interface->uuid, uuid))
return;
}