Changeset 4739:605b086a1801 in roaraudio
- Timestamp:
- 01/31/11 01:10:16 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/auth.c
r4708 r4739 200 200 size_t i; 201 201 va_list va; 202 pid_t pid ;203 uid_t uid ;204 gid_t gid ;202 pid_t pid = -1; 203 uid_t uid = -1; 204 gid_t gid = -1; 205 205 int err = 0; 206 206 -
roard/emul_rsound.c
r4708 r4739 82 82 buf.i[3] = ROAR_HOST2NET32(0); 83 83 84 ROAR_NETWORK_WRITE(oldfh, buf.c, sizeof(buf.c)); 84 if ( ROAR_NETWORK_WRITE(oldfh, buf.c, sizeof(buf.c)) != sizeof(buf.c) ) { 85 clients_delete(client); 86 return -1; 87 } 85 88 86 89 return client; -
roard/roard.c
r4722 r4739 2504 2504 2505 2505 #ifdef ROAR_HAVE_NICE 2506 // this stupid error check is because type of returned data of nice() changed 2507 // too often. On some systems it may return 0/-1, on some new nice value or 2508 // mixed forms of both. 2506 2509 errno = 0; 2507 nice(-5*realtime); // -5 for each --realtime2510 (void)nice(-5*realtime); // -5 for each --realtime 2508 2511 if ( errno ) { 2509 2512 ROAR_WARN("Can not decrease nice value by %i: %s", 5*realtime, strerror(errno));
Note: See TracChangeset
for help on using the changeset viewer.