otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Check logic of if #107

Closed deniscostadsc closed 6 years ago

deniscostadsc commented 6 years ago

Why

During boolean refactoring (#96), I had change this line code from this to this on this commit. This has changed the logic and this need to be checked to avoid future bugs.

before: https://github.com/otrv4/libotr-ng/blob/2500b9c7b088c150da27b748c482f5593197de6c/src/otrng.c#L2065 after: https://github.com/otrv4/libotr-ng/blob/a802f56f979765fac9eb4fd62e8e2aefe509fbe4/src/otrng.c#L2065

Tasks

claucece commented 6 years ago

Mmmm.. I'm not sure why create a separate issue for this.. this is working now, right?

deniscostadsc commented 6 years ago

We already talked about this, but I'll make the discussion public.

The only guarantee I have it's working is that tests are now passing. Maybe it worthy take a look on this. If people disagree, we can just close the issue.

claucece commented 6 years ago

I've tested this and is working fine :) I'm closing this. Thanks for reporting it.