MCPcopy Create free account
hub / github.com/apache/httpd / str_cmp

Function str_cmp

modules/md/md_result.c:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static int str_cmp(const char *s1, const char *s2)
186{
187 if (s1 == s2) return 0;
188 if (!s1) return -1;
189 if (!s2) return 1;
190 return strcmp(s1, s2);
191}
192
193int md_result_cmp(const md_result_t *r1, const md_result_t *r2)
194{

Callers 1

md_result_cmpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected