diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2021-04-29 13:17:05 +0100 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2021-04-29 13:17:05 +0100 |
commit | be57c5d14c771361482917f4cb35851a07d19a8e (patch) | |
tree | 6fbd1b08a28748be08f289e1ed99128f98f7486b | |
parent | 8312f0b7cf5cd7910684dbc6b63b7d8bbf8b0569 (diff) | |
download | glib-be57c5d14c771361482917f4cb35851a07d19a8e.tar.gz |
gdtlsconnection: Fix a check for a vfunc being implemented
It was checking the wrong vfunc; likely a copy/paste error.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-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); |