aboutsummaryrefslogtreecommitdiffstats
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
parentci: travis: add new docker file for Fedora 27 release (diff)
downloadefl-b8f4dc296ff1e95e6c2a88b7071e3ed8e2dffd86.tar.gz
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
-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 ad7d8dae1a..563af26c60 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
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;