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

Function intstrcmp

server/util_expr_eval.c:221–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221static int intstrcmp(const char *s1, const char *s2)
222{
223 apr_int64_t i1 = apr_atoi64(s1);
224 apr_int64_t i2 = apr_atoi64(s2);
225
226 if (i1 < i2)
227 return -1;
228 else if (i1 == i2)
229 return 0;
230 else
231 return 1;
232}
233
234static int ap_expr_eval_comp(ap_expr_eval_ctx_t *ctx, const ap_expr_t *node)
235{

Callers 1

ap_expr_eval_compFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected