• jvoisin's avatar
    Refactor otrl_mem_differ() · 3a8bd35d
    jvoisin authored
    Using a convoluted while loop that changes the len variable is not
    recommended.
    
    Also, make the diff volatile so we are sure the compiler does not do
    some unwanted optimization.
    Acked-by: default avatarDavid Goulet <dgoulet@ev0ke.net>
    
    Slightly tweaked by Ian Goldberg <ian@cypherpunks.ca>
    
    Fixes #22
    3a8bd35d
Name
Last commit
Last update
packaging/fedora Loading commit data...
src Loading commit data...
test_suite Loading commit data...
toolkit Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
Protocol-v1.txt Loading commit data...
Protocol-v2.html Loading commit data...
Protocol-v3.html Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
libotr.m4 Loading commit data...
libotr.pc.in Loading commit data...
makedist Loading commit data...