diff --git a/src/http/header/get.c b/src/http/header/get.c index 1b37eb2..3a56737 100644 --- a/src/http/header/get.c +++ b/src/http/header/get.c @@ -41,7 +41,7 @@ comp(const void * _a, const void * _b) HttpHeader httpHeaderGet(const HttpHeader * root, const char * name) { - struct c_HttpHeader search = {sdbm((const unsigned char*)name), NULL, NULL}; + struct c_HttpHeader search = {sdbm((const unsigned char*)name), NULL, {}, 0}; HttpHeader * found = tfind(&search, (void**)root, comp); return (NULL != found)? *found : NULL;