Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure compiles on Fedora with GCC 12 #3132

Closed
wants to merge 1 commit into from

Commits on Dec 27, 2022

  1. Ensure compiles on Fedora with GCC 12

    Fixes the problem when compiling with Gcc 12.2.1 20221121 and curl 7.87.0 that one gets
    In file included from /usr/include/curl/curl.h:3195,
                     from turnrest.c:21:
    turnrest.c: In function ‘janus_turnrest_request’:
    turnrest.c:168:9: error: void value not ignored as it ought to be
      168 |         curl_easy_setopt(curl, api_http_get ? CURLOPT_HTTPGET : CURLOPT_POST, 1);
          |         ^
    bkmgit committed Dec 27, 2022
    Configuration menu
    Copy the full SHA
    994ce31 View commit details
    Browse the repository at this point in the history