Commit baba41e3 authored by Max Kellermann's avatar Max Kellermann

lib/curl/Global: adjust parameter name

parent d87e09a8
/* /*
* Copyright 2008-2019 Max Kellermann <max.kellermann@gmail.com> * Copyright 2008-2020 Max Kellermann <max.kellermann@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
...@@ -78,7 +78,7 @@ private: ...@@ -78,7 +78,7 @@ private:
return socket_event.GetSocket(); return socket_event.GetSocket();
} }
void OnSocketReady(unsigned flags) noexcept; void OnSocketReady(unsigned events) noexcept;
static constexpr int FlagsToCurlCSelect(unsigned flags) noexcept { static constexpr int FlagsToCurlCSelect(unsigned flags) noexcept {
return (flags & (SocketEvent::READ | SocketEvent::HANGUP) ? CURL_CSELECT_IN : 0) | return (flags & (SocketEvent::READ | SocketEvent::HANGUP) ? CURL_CSELECT_IN : 0) |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment