X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=trp%2Ftrp_conn.c;h=370d5b1ee4e00c3f19d4be20f5e510e3e13d17d7;hp=1cf326d9b8bbab51ac81b5f7236053a7e20e23d8;hb=fe3b5cb31ab0d19c2ead6465f82ceb749bf05b75;hpb=887460bd1bab873bb5c3d783f61bd5745ada3cb2 diff --git a/trp/trp_conn.c b/trp/trp_conn.c index 1cf326d..370d5b1 100644 --- a/trp/trp_conn.c +++ b/trp/trp_conn.c @@ -364,11 +364,11 @@ TRP_CONNECTION *trp_connection_accept(TALLOC_CTX *mem_ctx, int listen, TR_NAME * } /* Initiate connection */ -TRP_RC trp_connection_initiate(TRP_CONNECTION *conn, char *server, unsigned int port) +TRP_RC trp_connection_initiate(TRP_CONNECTION *conn, char *server, int port) { int err = 0; int fd=-1; - unsigned int use_port=0; + int use_port=0; if (0 == port) use_port = TRP_PORT;