Changeset 5710
"help" with no args should list everything, not crash callweaver
Comitted by:
mjagdis
Date:
Jun 04 2010 * 23:10 (about 1 year ago)
Affected files:
callweaver/trunk/corelib/cli.c (unified diff)
| r5684 | r5710 | |
|---|---|---|
| 828 | 828 | size_t mark; |
| 829 | 829 | int i; |
| 830 | 830 | |
| 831 | for (i = 0; args->match[i]; i++) | |
| 832 | if (strcasecmp(args->match[i], clicmd->cmda[i])) | |
| 833 | goto out; | |
| 831 | if (args->match) { | |
| 832 | for (i = 0; args->match[i]; i++) | |
| 833 | if (strcasecmp(args->match[i], clicmd->cmda[i])) | |
| 834 | goto out; | |
| 835 | } | |
| 834 | 836 | |
| 835 | 837 | mark = args->ds_p->used; |
| 836 | 838 |
![Home changeset 5710 [home]](/images/logo.png?1180520111)

RSS Feeds