Ignore:
Timestamp:
Aug 29, 2011 7:58:52 AM (13 years ago)
Author:
nanang
Message:

Misc (re #1320): fixed wrong check order in pjsua app vid_handle_menu(), input string "vid " crashed the app.

File:
1 edited

Legend:

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

    r3694 r3735  
    37743774    } 
    37753775 
    3776     if (strcmp(argv[1], "help")==0 || argc == 1) { 
     3776    if (argc == 1 || strcmp(argv[1], "help")==0) { 
    37773777        vid_show_help(); 
    37783778    } else if (strcmp(argv[1], "call")==0) { 
Note: See TracChangeset for help on using the changeset viewer.