commit | 6c26ab25beca7f6f810d1da4a1200b3f89c50ed3 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Jun 16 12:43:23 2009 -0700 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Jun 16 12:43:23 2009 -0700 |
tree | 7a99276397d1aa1e495375f192a1bb338adb5509 | |
parent | d92947a455370c625e17242b8b5f0202b0aafc02 [diff] |
Don't throw away the return value of connect().
diff --git a/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp b/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp index a1bf0c0..1167cee 100644 --- a/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp +++ b/libcore/luni/src/main/native/org_apache_harmony_luni_platform_OSNetworkSystem.cpp
@@ -1057,7 +1057,7 @@ // LOGD("+connect to address 0x%08x (via normal) on handle %d", // addr.sin_addr.s_addr, handle); - doConnect(handle, &addr); + rc = doConnect(handle, &addr); // LOGD("-connect to address 0x%08x (via normal) returned %d", // addr.sin_addr.s_addr, (int) rc);