Commit a6f1e8a6 authored by Yi Kong's avatar Yi Kong
Browse files

recvfrom should set srcAddress for empty packets

0 is a valid return value for recvfrom. It returns -1 on error, instead
of 0.

Test: libcore.io.OsTest
Bug: 33483694
Change-Id: I66261f7254bc5e4e5155a8a353018ed626259b82
parent 56d22f0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment