summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2014-09-25 16:21:40 +0200
committersin <sin@2f30.org>2014-09-25 15:27:04 +0100
commit654c092951d9b55b77407f87aac0f49e13c7c20e (patch)
tree96dc12f346ca459720305d91986f1ac7bd5637a7 /util.h
parent355812bfc69348071b5af7123c174bcb40d9f283 (diff)
Code cleanup
Rename variables to be clearer about what they do, avoid hungarian notation (namestr -> name). f->fid was quite confusing (is it the tox-id, id-string or friendnumber?). f->num is much clearer. Same applies to all callback- functions (fid -> frnum). The separation of Tx and Rx is completed by separating tx- and rx-state. Also fixed a strange portion where an active receive-state was checked by looking at the file-number. use the rxstate for that.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions