Ignore:
Timestamp:
Jun 26, 2008 10:20:11 PM (12 years ago)
Author:
bennylp
Message:

echo command in pjsua can be used to print any text, and this is used to better synchronize stdout in Python test apps

File:
1 edited

Legend:

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

    r2067 r2069  
    24932493    puts("|  S  Send arbitrary REQUEST   | Cp  Codec priorities     |  f  Save config   |"); 
    24942494    puts("+------------------------------+--------------------------+-------------------+"); 
    2495     puts("|  q  QUIT       sleep MS     echo [0|1]            n: detect NAT type        |"); 
     2495    puts("|  q  QUIT       sleep MS     echo [0|1|txt]        n: detect NAT type        |"); 
    24962496    puts("+=============================================================================+"); 
    24972497 
     
    35453545                } 
    35463546 
    3547                 cmd_echo = pj_strtoul(&tmp); 
     3547                cmd_echo = *tmp.ptr != '0' || tmp.slen!=1; 
    35483548            } 
    35493549            break; 
Note: See TracChangeset for help on using the changeset viewer.