mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
return namespaces to prevent segmentation mismatch
This commit is contained in:
parent
f0dad0f04e
commit
5578c3226a
1 changed files with 2 additions and 2 deletions
|
|
@ -654,7 +654,7 @@ Glib::RefPtr<Gio::SocketClient> Page::Socket::Client::create(
|
||||||
*/
|
*/
|
||||||
Glib::RefPtr<Gio::SocketClient> Page::Socket::Client::Gemini::create()
|
Glib::RefPtr<Gio::SocketClient> Page::Socket::Client::Gemini::create()
|
||||||
{
|
{
|
||||||
const auto GEMINI_CLIENT = create();
|
const auto GEMINI_CLIENT = Socket::Client::create();
|
||||||
|
|
||||||
GEMINI_CLIENT->set_tls(
|
GEMINI_CLIENT->set_tls(
|
||||||
true
|
true
|
||||||
|
|
@ -688,7 +688,7 @@ bool Page::Socket::Connection::is_active(
|
||||||
bool Page::Socket::Connection::close(
|
bool Page::Socket::Connection::close(
|
||||||
Glib::RefPtr<Gio::SocketConnection> & connection
|
Glib::RefPtr<Gio::SocketConnection> & connection
|
||||||
) {
|
) {
|
||||||
if (is_active(connection))
|
if (Socket::Connection::is_active(connection))
|
||||||
{
|
{
|
||||||
if (connection->close())
|
if (connection->close())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue