X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=tid%2Ftids.c;h=f600d66fefb0e55534f01911e38dbfc8fdbd0c12;hp=ddd91b0c93745f05e3d875d4bea60837c057e021;hb=b5117dd88f660ee157de3cf96f8fb6d952ac342a;hpb=a6b70c983165f3c50265b55a4b09264fdd0dfff0 diff --git a/tid/tids.c b/tid/tids.c index ddd91b0..f600d66 100644 --- a/tid/tids.c +++ b/tid/tids.c @@ -356,7 +356,7 @@ nfds_t tids_get_listener(TIDS_INSTANCE *tids, TIDS_REQ_FUNC *req_handler, tids_auth_func *auth_handler, const char *hostname, - unsigned int port, + int port, void *cookie, int *fd_out, size_t max_fd) @@ -574,12 +574,12 @@ void tids_sweep_procs(TIDS_INSTANCE *tids) } /* Process tids requests forever. Should not return except on error. */ -int tids_start (TIDS_INSTANCE *tids, - TIDS_REQ_FUNC *req_handler, - tids_auth_func *auth_handler, - const char *hostname, - unsigned int port, - void *cookie) +int tids_start(TIDS_INSTANCE *tids, + TIDS_REQ_FUNC *req_handler, + tids_auth_func *auth_handler, + const char *hostname, + int port, + void *cookie) { int fd[TR_MAX_SOCKETS]={0}; nfds_t n_fd=0;