Changeset 2621:1055b438bce6 in roaraudio
- Timestamp:
- 09/11/09 21:43:21 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r2620 r2621 209 209 continue; 210 210 } 211 printf(" Playername : %s\n", c.name);212 printf(" PlayerPID : %i(%s)\n", c.pid, proc_name(c.pid));211 printf("Client name : %s\n", c.name); 212 printf("Client PID : %i(%s)\n", c.pid, proc_name(c.pid)); 213 213 if ( c.uid != -1 ) { 214 214 #ifdef _POSIX_USERS 215 215 pwd = getpwuid(c.uid); 216 216 grp = getgrgid(c.gid); 217 printf(" PlayerUID/GID : %i(%s)/%i(%s)\n", c.uid, pwd ? pwd->pw_name : "?", c.gid, grp ? grp->gr_name : "?");217 printf("Client UID/GID : %i(%s)/%i(%s)\n", c.uid, pwd ? pwd->pw_name : "?", c.gid, grp ? grp->gr_name : "?"); 218 218 #else 219 printf(" PlayerUID/GID : %i/%i\n", c.uid, c.gid);219 printf("Client UID/GID : %i/%i\n", c.uid, c.gid); 220 220 #endif 221 221 } 222 222 223 223 if ( g_verbose && c.proto != ROAR_PROTO_NONE ) { 224 printf(" PlayerProtocol : %s\n", roar_proto2str(c.proto));224 printf("Client Protocol : %s\n", roar_proto2str(c.proto)); 225 225 } 226 226 … … 243 243 strcat(tmp, ")"); 244 244 245 printf(" PlayerByteorder : %s%s\n", roar_byteorder2str(c.byteorder), tmp);245 printf("Client Byteorder : %s%s\n", roar_byteorder2str(c.byteorder), tmp); 246 246 } 247 247
Note: See TracChangeset
for help on using the changeset viewer.