summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4285d0c)
I plan to add another one, and the commonality in the code gets lost if
it's written out vertically.
static void rtp_stop(void) {
uaudio_thread_stop();
static void rtp_stop(void) {
uaudio_thread_stop();
- close(rtp_fd);
- rtp_fd = -1;
- if(rtp_fd6 >= 0) {
- close(rtp_fd6);
- rtp_fd6 = -1;
- }
+ close(rtp_fd); rtp_fd = -1;
+ if(rtp_fd6 >= 0) { close(rtp_fd6); rtp_fd6 = -1; }
}
static void rtp_configure(void) {
}
static void rtp_configure(void) {