Commit 172dcf71 authored by Ian Goldberg's avatar Ian Goldberg
Browse files

Make the test match the order of the previous tests

parent fbce3d1b
......@@ -179,7 +179,7 @@ ConnContext * otrl_context_find(OtrlUserState us, const char *user,
(protocmp = strcmp((*curp)->protocol, protocol)) > 0) ||
(usercmp == 0 && acctcmp == 0 && protocmp == 0
&& (their_instance < OTRL_MIN_VALID_INSTAG ||
(their_instance <= (*curp)->their_instance))))
((*curp)->their_instance >= their_instance))))
/* We're at the right place in the list. We've either found
* it, or gone too far. */
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment