Commit e4b8762c authored by Pietro Incardona's avatar Pietro Incardona

Small change

parent 0039a8c1
......@@ -58,7 +58,10 @@ static void * msg_alloc(size_t msg_i ,size_t total_msg, size_t total_p, size_t i
base_info & rinfo = *(base_info *)ptr;
if (rinfo.recv_buf == NULL)
{
std::cerr << __FILE__ << ":" << __LINE__ << " Internal error this processor is not suppose to receive\n";
return NULL;
}
rinfo.recv_buf->resize(ri+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