gdtlsconnection: do not return on a void method

Fixes:
warning C4098: 'g_dtls_connection_set_advertised_protocols': 'void' function returning a value
parent da2bf2a2
Pipeline #52115 passed with stages
in 10 minutes and 16 seconds
......@@ -1050,7 +1050,7 @@ g_dtls_connection_set_advertised_protocols (GDtlsConnection *conn,
if (iface->set_advertised_protocols == NULL)
return;
return iface->set_advertised_protocols (conn, protocols);
iface->set_advertised_protocols (conn, protocols);
}
/**
......
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