Changeset 5428:e6f63ff541b0 in roaraudio for libroar/basic.c
- Timestamp:
- 03/20/12 12:44:03 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/basic.c
r5406 r5428 235 235 if ( S_ISCHR(sockstat.st_mode) ) { 236 236 #ifdef O_NOCTTY 237 returnopen(user_sock, O_RDWR|O_NOCTTY, 0666);237 fh = open(user_sock, O_RDWR|O_NOCTTY, 0666); 238 238 #else 239 returnopen(user_sock, O_RDWR, 0666);239 fh = open(user_sock, O_RDWR, 0666); 240 240 #endif 241 241 } … … 243 243 } 244 244 #endif 245 fh = roar_socket_connect(type, user_sock, ROAR_DEFAULT_PORT); 245 if ( fh == -1 ) 246 fh = roar_socket_connect(type, user_sock, ROAR_DEFAULT_PORT); 246 247 } 247 248
Note: See TracChangeset
for help on using the changeset viewer.