Index: native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_url_loader.cc |
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_url_loader.cc b/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_url_loader.cc |
index f0dc472be687a41e061b4a528760be1ba13f89d6..2d10c971393b1f55c97fffb0f033a33c7a2e60da 100644 |
--- a/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_url_loader.cc |
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_pepper_interface_url_loader.cc |
@@ -231,7 +231,7 @@ FakeURLLoaderEntity* FakeURLLoaderServer::GetEntity(const std::string& url) { |
int FakeURLLoaderServer::GetError(const std::string& url) { |
ErrorMap::iterator iter = error_map_.find(url); |
- if (iter != error_map_.end()) |
+ if (iter == error_map_.end()) |
return 0; |
return iter->second; |
} |