MCPcopy Index your code
hub / github.com/git/git / is_hdr_continuation

Function is_hdr_continuation

http.c:215–218  ·  view source on GitHub ↗

* A folded header continuation line starts with any number of spaces or * horizontal tab characters (SP or HTAB) as per RFC 7230 section 3.2. * It is not a continuation line if the line starts with any other character. */

Source from the content-addressed store, hash-verified

213 * It is not a continuation line if the line starts with any other character.
214 */
215static inline int is_hdr_continuation(const char *ptr, const size_t size)
216{
217 return size && (*ptr == ' ' || *ptr == '\t');
218}
219
220static size_t fwrite_wwwauth(char *ptr, size_t eltsize, size_t nmemb, void *p MAYBE_UNUSED)
221{

Callers 1

fwrite_wwwauthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected