Changeset 4825 for pjproject


Ignore:
Timestamp:
Apr 24, 2014 9:39:41 AM (11 years ago)
Author:
riza
Message:

Misc (re #1751): Fix crash when executing pattern matched shortcut on cli.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/cli.c

    r4589 r4825  
    11381138    pj_status_t status; 
    11391139    PJ_ASSERT_RETURN(cmd && pool && info && cmd_val, PJ_EINVAL);    
    1140  
    1141     if (p_cmd) 
    1142         *p_cmd = cmd; 
    11431140 
    11441141    /* Get matching command */ 
     
    13201317                if (status != PJ_SUCCESS) 
    13211318                    return status; 
    1322             } 
    1323  
     1319            }  
     1320             
    13241321            status = get_pattern_match_cmds(cmd, prefix, pool, p_cmd,  
    13251322                                            parse_mode, info); 
Note: See TracChangeset for help on using the changeset viewer.