Changeset 1543


Ignore:
Timestamp:
Nov 3, 2007 9:42:10 PM (16 years ago)
Author:
bennylp
Message:

Print error message if NAT type detection command fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r1520 r1543  
    20102010    puts("|  S  Send arbitrary REQUEST   | Cp  Codec priorities     |  f  Save config   |"); 
    20112011    puts("+------------------------------+--------------------------+-------------------+"); 
    2012     puts("|  q  QUIT                  sleep N: console sleep for N ms                   |"); 
     2012    puts("|  q  QUIT       sleep N: console sleep for N ms    n: detect NAT type        |"); 
    20132013    puts("+=============================================================================+"); 
    20142014 
     
    24462446 
    24472447        case 'n': 
    2448             pjsua_detect_nat_type(); 
     2448            i = pjsua_detect_nat_type(); 
     2449            if (i != PJ_SUCCESS) 
     2450                pjsua_perror(THIS_FILE, "Error", i); 
    24492451            break; 
    24502452 
Note: See TracChangeset for help on using the changeset viewer.