Changeset 2590

Show
Ignore:
Timestamp:
06/11/99 13:46:07 (15 years ago)
Author:
ucaccsp
Message:

Fix coredump when called with invalid command line arguments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/session.c

    r2575 r2590  
    266266                sp->tx_rtp_port  = sp->rx_rtp_port; 
    267267                sp->tx_rtcp_port = sp->rx_rtcp_port; 
     268        } else { 
     269                usage(); 
    268270        } 
    269271        if (atoi(p) > 0xfffe) {