Use $Restrict: Error to assertion

parent 9c068644
......@@ -36,6 +36,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <vsa.h>
#include "vcc_topvar_if.h"
......@@ -49,11 +50,7 @@
if (ctx->method & VCL_MET_TASK_H) \
return (v); \
\
if (ctx->req == NULL) { \
VRT_fail(ctx, "only available" \
" in client context"); \
return (NULL); \
} \
AN(ctx->req); \
t = VRT_priv_top(ctx, v); \
\
if (t == NULL) { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment