Index: src/untrusted/irt/irt_pnacl_translator_link.c |
diff --git a/src/untrusted/irt/irt_pnacl_translator.c b/src/untrusted/irt/irt_pnacl_translator_link.c |
similarity index 93% |
rename from src/untrusted/irt/irt_pnacl_translator.c |
rename to src/untrusted/irt/irt_pnacl_translator_link.c |
index 4ed99359fc01b92d2b1114f24db05b5abeb8c96c..0577e32bc883704fda4acb3fcaf2f86d3906d89f 100644 |
--- a/src/untrusted/irt/irt_pnacl_translator.c |
+++ b/src/untrusted/irt/irt_pnacl_translator_link.c |
@@ -48,7 +48,9 @@ static void serve_link_request(int (*func)(int nexe_fd, |
if (!NaClSrpcModuleInit()) { |
NaClLog(LOG_FATAL, "NaClSrpcModuleInit() failed\n"); |
} |
- NaClSrpcAcceptClientConnection(srpc_methods); |
+ if (!NaClSrpcAcceptClientConnection(srpc_methods)) { |
+ NaClLog(LOG_FATAL, "NaClSrpcAcceptClientConnection() failed\n"); |
+ } |
} |
const struct nacl_irt_private_pnacl_translator_link |