gdtlsconnection: do not return on a void method

Fixes:
warning C4098: 'g_dtls_connection_set_advertised_protocols': 'void' function returning a value
This commit is contained in:
Ignacio Casal Quinteiro 2019-01-18 17:27:44 +01:00
parent da2bf2a280
commit e9506d7719

View File

@ -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);
}
/**