| Index: libraries/nacl-mounts/net/SocketSubSystem.cc
|
| ===================================================================
|
| --- libraries/nacl-mounts/net/SocketSubSystem.cc (revision 598)
|
| +++ libraries/nacl-mounts/net/SocketSubSystem.cc (working copy)
|
| @@ -29,6 +29,12 @@
|
| AddHostAddress("localhost", 0x7F000001);
|
| }
|
|
|
| +int SocketSubSystem::setsockopt(Socket* stream, int level, int optname,
|
| + const void* optval, socklen_t optlen) {
|
| + // this is just a placeholder, chromium does not provide api for this yet
|
| + return 0;
|
| +}
|
| +
|
| uint32_t SocketSubSystem::AddHostAddress(const char* name, uint32_t addr) {
|
| return addr;
|
| }
|
| @@ -101,7 +107,6 @@
|
| hints->ai_family != AF_INET6) {
|
| *pres = PP_ERROR_FAILED;
|
| cond().broadcast();
|
| - dbgprintf("SSS::Resolve failed: incorrect ai_family\n");
|
| return;
|
| }
|
|
|
| @@ -446,9 +451,8 @@
|
| }
|
| errno = EINVAL;
|
| return 0;
|
| - } else {
|
| - errno = EBADF;
|
| - return 0;
|
| }
|
| + errno = EBADF;
|
| + return 0;
|
| }
|
|
|
|
|