diff --git a/libs/surfaces/websockets/feedback.cc b/libs/surfaces/websockets/feedback.cc index 59d37355ca..383fdfc47d 100644 --- a/libs/surfaces/websockets/feedback.cc +++ b/libs/surfaces/websockets/feedback.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020-2021 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -129,7 +129,7 @@ ArdourFeedback::start () &ArdourFeedback::poll)); // server must be started before feedback otherwise - // should_request_write() will always return false + // read_blocks_event_loop() will always return false if (server ().read_blocks_event_loop ()) { _helper.run(); periodic_timeout->attach (_helper.main_loop()->get_context ()); diff --git a/libs/surfaces/websockets/feedback.h b/libs/surfaces/websockets/feedback.h index f236be8a72..5f8cc3948f 100644 --- a/libs/surfaces/websockets/feedback.h +++ b/libs/surfaces/websockets/feedback.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020-2021 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/libs/surfaces/websockets/server.cc b/libs/surfaces/websockets/server.cc index d6e461a771..6b6b1fd379 100644 --- a/libs/surfaces/websockets/server.cc +++ b/libs/surfaces/websockets/server.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020-2021 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -540,7 +540,7 @@ WebsocketsServer::mod_poll_fd (struct lws_pollargs* pa) it->second.lws_pfd.events = pa->events; if (pa->events & LWS_POLLOUT) { - /* libwebsockets wants to write but cannot find a way to update + /* libwebsockets needs to write but cannot find a way to update * an existing glib::iosource event flags using glibmm alone, * create another iosource and set to IO_OUT, it will be destroyed * after clearing POLLOUT (see 'else' body below) diff --git a/libs/surfaces/websockets/server.h b/libs/surfaces/websockets/server.h index da81ccbffb..cc2cc77d1c 100644 --- a/libs/surfaces/websockets/server.h +++ b/libs/surfaces/websockets/server.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Luciano Iam + * Copyright (C) 2020-2021 Luciano Iam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by