Changeset 3845:e5ba73155538 in roaraudio
- Timestamp:
- 05/16/10 22:17:08 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r3790 r3845 237 237 continue; 238 238 } 239 printf("Client name : %s\n", c.name); 239 240 if ( c.name[0] != '\0' ) 241 printf("Client name : %s\n", c.name); 240 242 241 243 if ( roar_nnode_get_socktype(&(c.nnode)) != ROAR_SOCKET_TYPE_UNKNOWN ) { … … 245 247 } 246 248 247 if ( self_id != -1 && roar_nnode_cmp(&(self_client.nnode), &(c.nnode)) == 0 ) { 248 printf("Client PID : %i(%s)\n", c.pid, proc_name(c.pid)); 249 } else { 250 printf("Client PID : %i\n", c.pid); 249 if ( c.pid != -1 ) { 250 if ( self_id != -1 && roar_nnode_cmp(&(self_client.nnode), &(c.nnode)) == 0 ) { 251 printf("Client PID : %i(%s)\n", c.pid, proc_name(c.pid)); 252 } else { 253 printf("Client PID : %i\n", c.pid); 254 } 251 255 } 252 256 if ( c.uid != -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.