summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-12-30 10:30:38 +0000
committerStefan Schmidt <stefan@osg.samsung.com>2018-01-02 14:35:31 +0100
commitb8f4dc296ff1e95e6c2a88b7071e3ed8e2dffd86 (patch)
tree65cf34f08dd1f4f2da14bcf5421b9245a8c1d637 /src/tests/ecore_con
parent6ef22f70d16d83bdc1412a832e5899af1e1671a9 (diff)
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
Diffstat (limited to 'src/tests/ecore_con')
-rw-r--r--src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c b/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c
index ad7d8da..563af26 100644
--- a/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c
+++ b/src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c
@@ -510,7 +510,7 @@ END_TEST
510START_TEST(ecore_test_efl_net_ip_address_ipv4_create_sockaddr_fail) 510START_TEST(ecore_test_efl_net_ip_address_ipv4_create_sockaddr_fail)
511{ 511{
512 struct sockaddr_in addr = { 512 struct sockaddr_in addr = {
513 .sin_family = 1234, 513 .sin_family = AF_UNSPEC,
514 }; 514 };
515 Eo *o; 515 Eo *o;
516 516