mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-27 04:32:15 +01:00
Merge branch 'gdtlsconnection-vfunc-check' into 'master'
gdtlsconnection: Fix a check for a vfunc being implemented See merge request GNOME/glib!2075
This commit is contained in:
commit
2b3848dd7e
@ -1069,7 +1069,7 @@ g_dtls_connection_get_negotiated_protocol (GDtlsConnection *conn)
|
|||||||
GDtlsConnectionInterface *iface;
|
GDtlsConnectionInterface *iface;
|
||||||
|
|
||||||
iface = G_DTLS_CONNECTION_GET_INTERFACE (conn);
|
iface = G_DTLS_CONNECTION_GET_INTERFACE (conn);
|
||||||
if (iface->set_advertised_protocols == NULL)
|
if (iface->get_negotiated_protocol == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
return iface->get_negotiated_protocol (conn);
|
return iface->get_negotiated_protocol (conn);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user