X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=tid%2Ftids.c;h=e780a22b69d99dfa11f2dfef689c3c23c7ba56e5;hp=6a5b172e56507e7536998fd7172aacd9bd0a3481;hb=26e3e1459e76a542dbc33896e2e42cd09d2d9198;hpb=f1c739d16232445c20889ebdab9058afd7ef3d6d diff --git a/tid/tids.c b/tid/tids.c index 6a5b172..e780a22 100644 --- a/tid/tids.c +++ b/tid/tids.c @@ -399,8 +399,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; }