ecore_con: switch from 1234 to AF_UNSPEC

there are systems where sa_family_t is a enum, so assigning 1234 will
lead to compililation errors on picky systems
This commit is contained in:
Marcel Hollerbach 2017-12-30 10:30:38 +00:00 committed by Stefan Schmidt
parent 6ef22f70d1
commit b8f4dc296f
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ END_TEST
START_TEST(ecore_test_efl_net_ip_address_ipv4_create_sockaddr_fail)
{
struct sockaddr_in addr = {
.sin_family = 1234,
.sin_family = AF_UNSPEC,
};
Eo *o;