Merge pull request #61 from painless-security/jennifer/request_id
[trust_router.git] / tid / tids.c
index 9b9d51f..74e790e 100644 (file)
@@ -405,8 +405,8 @@ int tids_accept(TIDS_INSTANCE *tids, int listen)
   int pipe_fd[2];
   struct tid_process tp = {0};
 
-  if (0 > (conn = accept(listen, NULL, NULL))) {
-    perror("Error from TIDS Server accept()");
+  if (0 > (conn = tr_sock_accept(listen))) {
+    tr_err("tids_accept: Error accepting connection");
     return 1;
   }