A version of strcmp() that works with NULL values */
| 610 | |
| 611 | /* A version of strcmp() that works with NULL values */ |
| 612 | static int cli_strcmp(const char *a, const char *b){ |
| 613 | if( a==0 ) a = ""; |
| 614 | if( b==0 ) b = ""; |
| 615 | return strcmp(a,b); |
| 616 | } |
| 617 | static int cli_strncmp(const char *a, const char *b, size_t n){ |
| 618 | if( a==0 ) a = ""; |
| 619 | if( b==0 ) b = ""; |
no outgoing calls
no test coverage detected