diff options
author | Sebastian Dröge <slomo@coaxion.net> | 2021-04-29 13:06:06 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@coaxion.net> | 2021-04-29 13:06:06 +0000 |
commit | 2b3848dd7ecbc28beb94f8a239c16caf08c1e530 (patch) | |
tree | 70cba231b8e53041b80ce0790758e43661710170 | |
parent | f4f9ce7bde88fd6c000c219a3edb9626dc1beb9c (diff) | |
parent | be57c5d14c771361482917f4cb35851a07d19a8e (diff) | |
download | glib-2b3848dd7ecbc28beb94f8a239c16caf08c1e530.tar.gz |
Merge branch 'gdtlsconnection-vfunc-check' into 'master'master
gdtlsconnection: Fix a check for a vfunc being implemented
See merge request GNOME/glib!2075
-rw-r--r-- | gio/gdtlsconnection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdtlsconnection.c b/gio/gdtlsconnection.c index 4bbc88d7a..136e317b1 100644 --- a/gio/gdtlsconnection.c +++ b/gio/gdtlsconnection.c @@ -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); |