cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.24k stars 476 forks source link

Type usage consistency, braces, etc. #684

Closed paulej closed 10 months ago

paulej commented 10 months ago

This PR makes a number of changes to further use bool, size_t, ssize_t, etc. consistently through the code. I also added braces around single-line if() and for() statements. (As an aside, I actually like one-line statements, but when the clang-format rules force the line to break, I think braces should be employed. I'd be OK if we changed the clang-format file so that one-line statements stayed on a single line.)

pabuhler commented 10 months ago

This is the last big part of #671