Changeset 5848:49bec75c55fe in roaraudio


Ignore:
Timestamp:
01/07/13 13:50:25 (7 years ago)
Author:
phi
Branch:
default
Message:

do not use low/prio/root ports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/basic.c

    r5847 r5848  
    111111 for (i = 0; i < NUM_TRIES; i++) { 
    112112  port = roar_random_uint16(); 
    113   if ( port < 1 ) 
     113  if ( port < 1025 ) /* it seems on some strange systems the magic border is at 1025 not 1024. */ 
    114114   continue; 
    115115 
Note: See TracChangeset for help on using the changeset viewer.