git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
365f32f
)
winnt-find-token-event-missing-braces-20030206
author
Andrei Keis
<Andrei.Keis@morganstanley.com>
Thu, 6 Feb 2003 23:02:00 +0000 (23:02 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 6 Feb 2003 23:02:00 +0000 (23:02 +0000)
FIXES 1288
add missing {} braces
src/WINNT/afsd/cm_rpc.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/cm_rpc.c
b/src/WINNT/afsd/cm_rpc.c
index
33f4c8e
..
1c250ca
100644
(file)
--- a/
src/WINNT/afsd/cm_rpc.c
+++ b/
src/WINNT/afsd/cm_rpc.c
@@
-81,15
+81,16
@@
BOOL cm_FindTokenEvent(afs_uuid_t uuid, char sessionKey[8])
te = tokenEvents;
ltep = &tokenEvents;
while (te) {
- if (UuidEqual((UUID *)&uuid, (UUID *)&te->uuid, &status))
+ if (UuidEqual((UUID *)&uuid, (UUID *)&te->uuid, &status)) {
*ltep = te->next;
lock_ReleaseMutex(&tokenEventLock);
memcpy(sessionKey, te->sessionKey,
sizeof(te->sessionKey));
free(te);
return TRUE;
- ltep = &te->next;
- te = te->next;
+ }
+ ltep = &te->next;
+ te = te->next;
}
lock_ReleaseMutex(&tokenEventLock);
return FALSE;