remove too agressive assert

svn:r765
This commit is contained in:
Niels Provos 2008-05-04 03:52:24 +00:00
parent 181007b9cf
commit a83caa6b29

View File

@ -1032,6 +1032,5 @@ struct evhttp_connection *
evrpc_hook_get_connection(void *ctx)
{
struct evrpc_request_wrapper *req = ctx;
assert(req->hook_meta != NULL);
return (req->hook_meta->evcon);
return (req->hook_meta != NULL ? req->hook_meta->evcon : NULL);
}