Fix return size in recv.