Author: Tjansen Date: Wed Aug 19 15:31:34 2009 New Revision: 832 Log: Fixed a parameter for pisa_maxof in the client that has probably been missing since the beginning. Pure luck that it didn't cause strange errors before. Or you couldn't find out why those errors happened. Modified: trunk/client/pisacd/cdmain.c Modified: trunk/client/pisacd/cdmain.c ============================================================================== --- trunk/client/pisacd/cdmain.c Wed Aug 19 15:06:24 2009 (r831) +++ trunk/client/pisacd/cdmain.c Wed Aug 19 15:31:34 2009 (r832) @@ -855,7 +855,7 @@ tmfd = pisa_maxInt(tmfd, cd_ctx.tund); maxfd = tmfd + 1; #else - maxfd = pisa_maxof(cd_ctx.tunnel, cd_ctx.fd_pisaconf, + maxfd = pisa_maxof(6, cd_ctx.tunnel, cd_ctx.fd_pisaconf, cd_ctx.fd_pacli, cd_ctx.fd_pasrv, cd_ctx.tunc, cd_ctx.tund) + 1; #endif