[Pkg-privacy-commits] [libotr] 76/225: Make the test match the order of the previous tests
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:44:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository libotr.
commit 172dcf71e6124e6d782b07d9313d228b608d68ce
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date: Thu Jun 14 16:45:56 2012 -0400
Make the test match the order of the previous tests
---
src/context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/context.c b/src/context.c
index b014819..180c0b3 100644
--- a/src/context.c
+++ b/src/context.c
@@ -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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git
More information about the Pkg-privacy-commits
mailing list