Age | Commit message (Collapse) | Author |
|
|
|
It allows changing and reading the current nospam-value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and fill up the missing cases.
|
|
|
|
Don't use 3 printf's when 1 is possible.
|
|
and use it to create FIFOs by not closing the passed fd when it is
-1.
To prevent stdin from being closed, we could think about changing
the condition to if(*fd > 0).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A umask of 022 gives us 0755.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
and print the current version in its ear.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|