Пример #1
0
static bool
check_cyassl_result (int          result,
                     const char * file,
                     int          line)
{
  const bool ret = result == 0;
  if (!ret)
    log_cyassl_error (result, file, line);
  return ret;
}
Пример #2
0
static bool check_cyassl_result(int result, char const* file, int line)
{
    bool const ret = result == 0;

    if (!ret)
    {
        log_cyassl_error(result, file, line);
    }

    return ret;
}