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

Function zap_sp

modules/http/mod_mime.c:477–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static const char *zap_sp(const char *s)
478{
479 if (s == NULL) {
480 return (NULL);
481 }
482 if (*s == '\0') {
483 return (s);
484 }
485
486 /* skip prefixed white space */
487 for (; *s == ' ' || *s == '\t' || *s == '\n'; s++)
488 ;
489
490 return (s);
491}
492
493static char *zap_sp_and_dup(apr_pool_t *p, const char *start,
494 const char *end, apr_size_t *len)

Callers 1

analyze_ctFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected