Bastien Nocera b3197f2740 tests: Fix incomplete failure check in socket test
For the check "if (error != NULL)" to work as expected, the
create_server() (and create_server_full()) functions need to make
sure to return an error for all the possible failures, but this
might not always be the case.

Catch all the failures by testing for a non-NULL return value if there
was no error.
2020-01-07 15:07:37 +00:00
..
2019-01-15 15:11:43 +00:00
2013-07-11 13:49:20 -04:00
2014-09-09 14:11:38 -04:00
2014-01-01 22:01:15 -05:00
2016-04-26 15:20:16 +02:00
2014-06-28 14:06:36 -04:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-09-12 15:42:11 +00:00
2017-05-29 19:53:34 +02:00
2017-05-29 19:53:34 +02:00
2018-09-12 15:42:11 +00:00
2019-01-10 13:50:26 -05:00