fix issue with save_load autotest

The test explicitly wanted a UDP connection when a TCP connection would suffice. This
was a remnant of back when the test was part of a multi-purpose autotest that
didn't attempt to connect to TCP relays and needed a UDP connection specifically.
This commit is contained in:
jfreegman 2021-11-25 15:32:29 -05:00
parent 1700334c3b
commit b66165977e
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -46,7 +46,7 @@ static void tox_connection_status(Tox *tox, Tox_Connection connection_status, vo
ck_abort_msg("Tox went offline"); ck_abort_msg("Tox went offline");
} }
ck_assert_msg(connection_status == TOX_CONNECTION_UDP, "wrong status %d", connection_status); ck_assert_msg(connection_status != TOX_CONNECTION_NONE, "wrong status %d", connection_status);
connected_t1 = connection_status; connected_t1 = connection_status;
} }