mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
Windows: Fix cm_AppendServerList
Should use || and not | as the operator when testing for NULL pointers. Change-Id: I00afe64aec4f965d6a831028b546ed01d8e9672a Reviewed-on: http://gerrit.openafs.org/11523 Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
3b8c4abf81
commit
ba0b0986ec
@ -1532,7 +1532,7 @@ void cm_AppendServerList(cm_serverRef_t *dest, cm_serverRef_t **src)
|
||||
{
|
||||
cm_serverRef_t *ref;
|
||||
|
||||
if (dest == NULL | src == NULL || *src == NULL)
|
||||
if (dest == NULL || src == NULL || *src == NULL)
|
||||
return;
|
||||
|
||||
for (ref = dest; ref->next != NULL; ref = ref->next);
|
||||
|
Loading…
Reference in New Issue
Block a user