Fix receive function using the wrong struct.