Changeset 5113 for pjproject/trunk
- Timestamp:
- Jun 22, 2015 2:59:23 AM (9 years ago)
- Location:
- pjproject/trunk/pjlib-util/src/pjlib-util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/cli_console.c
r4728 r5113 286 286 /* Get the max length of the command name */ 287 287 for (i=0;i<info->hint_cnt;++i) { 288 if ( (&hint[i].type) && (hint[i].type.slen > 0)) {288 if (hint[i].type.slen > 0) { 289 289 if (pj_stricmp(&hint[i].type, &sc_type) == 0) { 290 290 if ((i > 0) && (!pj_stricmp(&hint[i-1].desc, &hint[i].desc))) { … … 307 307 cmd_length = 0; 308 308 for (i=0;i<info->hint_cnt;++i) { 309 if ( (&hint[i].type) && (hint[i].type.slen > 0)) {309 if (hint[i].type.slen > 0) { 310 310 if (pj_stricmp(&hint[i].type, &sc_type) == 0) { 311 311 parse_state = OP_SHORTCUT; -
pjproject/trunk/pjlib-util/src/pjlib-util/cli_telnet.c
r4728 r5113 786 786 /* Get the max length of the command name */ 787 787 for (i=0;i<info->hint_cnt;++i) { 788 if ( (&hint[i].type) && (hint[i].type.slen > 0)) {788 if (hint[i].type.slen > 0) { 789 789 if (pj_stricmp(&hint[i].type, &sc_type) == 0) { 790 790 if ((i > 0) && (!pj_stricmp(&hint[i-1].desc, &hint[i].desc))) { … … 808 808 /* Build hint information */ 809 809 for (i=0;i<info->hint_cnt;++i) { 810 if ( (&hint[i].type) && (hint[i].type.slen > 0)) {810 if (hint[i].type.slen > 0) { 811 811 if (pj_stricmp(&hint[i].type, &sc_type) == 0) { 812 812 parse_state = OP_SHORTCUT;
Note: See TracChangeset
for help on using the changeset viewer.