summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-08-19 01:50:57 -0400
committerAndrew Cady <d@jerkface.net>2020-08-19 01:56:07 -0400
commit15400c29ae57ed6d70fcd3999f8fb6f74bcbd2f1 (patch)
tree42fdccb2915e5e24c5ca70eb29b78f0a0e635965 /util.h
parentee6e9376ab416283340d62c1f901bd1c04e2319e (diff)
Avoid code repetition
The client and server blocks were nearly identical. Now they share code. Both client and server now call memset() on tox_printable_id. The distinct client message "Generated Tox ID: %s\n" was not preserved; both client and server will say "Using Tox ID: %s\n" which is more accurate (Tox ID might be persistent with -C).
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions