Commit 7f661b11 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland Committed by Reza Naghibi

Use VTCP_Assert() also in VTCP_close()

Consistently use VTCP_Assert when asserting on the result of VTCP_Check().
parent c9e52f94
......@@ -342,7 +342,7 @@ VTCP_close(int *s)
i = close(*s);
assert(VTCP_Check(i));
VTCP_Assert(i);
*s = -1;
}
......
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