mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-08 18:36:17 +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;
|
||||
|
||||
iface = G_DTLS_CONNECTION_GET_INTERFACE (conn);
|
||||
if (iface->set_advertised_protocols == NULL)
|
||||
if (iface->get_negotiated_protocol == NULL)
|
||||
return NULL;
|
||||
|
||||
return iface->get_negotiated_protocol (conn);
|
||||
|
Loading…
Reference in New Issue
Block a user