Ignore:
Timestamp:
May 23, 2013 3:48:31 AM (7 years ago)
Author:
riza
Message:

Re #1643:

  • Fix duplicate shortcut for video commands
  • Fix restart command bug on legacy mode
  • Fix restart bug when using add-buddy options
File:
1 edited

Legend:

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

    r4489 r4522  
    3535void on_app_stopped(pj_bool_t restart, int argc, char** argv) 
    3636{ 
    37     cfg.argc = argc; 
    38     cfg.argv = argv; 
     37    if (argv) { 
     38        cfg.argc = argc; 
     39        cfg.argv = argv; 
     40    } 
    3941 
    4042    running = restart; 
     
    108110            status = pjsua_app_run(PJ_TRUE); 
    109111        } else { 
    110             pj_perror(3, THIS_FILE, status, "Failed init"); 
    111112            running = PJ_FALSE; 
    112113        } 
Note: See TracChangeset for help on using the changeset viewer.