Changeset 2620:d84d2de62245 in roaraudio
- Timestamp:
- 09/11/09 21:41:17 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r2617 r2620 191 191 int h; 192 192 int id[ROAR_CLIENTS_MAX]; 193 char tmp[80]; 193 194 struct roar_client c; 194 195 #ifdef _POSIX_USERS … … 225 226 226 227 if ( g_verbose && c.byteorder != ROAR_BYTEORDER_UNKNOWN ) { 227 printf("Player Byteorder : %s\n", roar_byteorder2str(c.byteorder)); 228 if ( c.byteorder == ROAR_BYTEORDER_NETWORK ) { 229 strcpy(tmp, " (network byteorder"); 230 } else { 231 *tmp = 0; 232 } 233 234 if ( c.byteorder == ROAR_BYTEORDER_NATIVE ) { 235 if ( *tmp ) { 236 strcat(tmp, ", native"); 237 } else { 238 strcpy(tmp, " (native"); 239 } 240 } 241 242 if ( *tmp ) 243 strcat(tmp, ")"); 244 245 printf("Player Byteorder : %s%s\n", roar_byteorder2str(c.byteorder), tmp); 228 246 } 229 247
Note: See TracChangeset
for help on using the changeset viewer.