Skip to content

Backport !4130 “Fix gsocketclient-slow test on FreeBSD” to glib-2-80

The "port" variable ends up being 0 even after successful g_socket_bind. Use g_socket_get_local_address() to actually get a correct port number.


Trivial backport of !4130 (merged) to glib-2-80.

Merge request reports