Changeset 1067:a2d7c244141b in roaraudio for libroar/simple.c
- Timestamp:
- 12/28/08 02:30:32 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/simple.c
r690 r1067 122 122 123 123 if ( type == ROAR_SOCKET_TYPE_UNIX ) { 124 s printf(file, "/tmp/.libroar-simple-stream.%i-%i", getpid(), count++);124 snprintf(file, 79, "/tmp/.libroar-simple-stream.%i-%i", getpid(), count++); 125 125 } else if ( type == ROAR_SOCKET_TYPE_DECNET ) { 126 126 if ( roar_socket_get_local_nodename() ) { 127 s printf(file,"%s::roar$TMP%04x%02x", roar_socket_get_local_nodename(), getpid(), count++);127 snprintf(file, 24,"%s::roar$TMP%04x%02x", roar_socket_get_local_nodename(), getpid(), count++); 128 128 } else { 129 129 return -1;
Note: See TracChangeset
for help on using the changeset viewer.