mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
1700334c3b
commit
b66165977e
|
@ -46,7 +46,7 @@ static void tox_connection_status(Tox *tox, Tox_Connection connection_status, vo
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user