if (status == MR_UNKNOWN_PROC)
{
if (version > 2)
- status == MR_VERSION_HIGH;
+ status = MR_VERSION_HIGH;
else
- status == MR_SUCCESS;
+ status = MR_SUCCESS;
}
if (status == MR_VERSION_HIGH)
com_err(whoami, 0, "Warning: This client is running newer code than the server.");
com_err(whoami, 0, "Some operations may not work.");
}
- else if (status != MR_VERSION_LOW)
+ else if (status && status != MR_VERSION_LOW)
{
com_err(whoami, status, "while setting query version number.");
mr_disconnect();