diff options
author | waker <wakeroid@gmail.com> | 2012-11-30 21:14:25 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-11-30 21:14:25 +0100 |
commit | 907ed40fd1b1a1298e5d339f51e68df5f0b63872 (patch) | |
tree | b8802e5191a621b11c108ee322db00407b03ab23 /main.c | |
parent | be472188fde7aa235c426486c42ae4e2278c9093 (diff) |
few minor optimizations
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -481,6 +481,9 @@ static int server_terminate; void server_loop (void *ctx) { +#ifdef __linux__ + prctl (PR_SET_NAME, "deadbeef-server", 0, 0, 0, 0); +#endif fd_set rds; int ret; struct timeval timeout = {0, 0}; |