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:
Jeffrey Altman 2014-10-06 19:20:27 -04:00
parent 3b8c4abf81
commit ba0b0986ec

View File

@ -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);