We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d0289 commit 59a9227Copy full SHA for 59a9227
examples/portfwd/portfwd.c
@@ -72,7 +72,7 @@
72
static const char defaultFwdFromHost[] = "0.0.0.0";
73
74
75
-static inline int max(int a, int b)
+static inline int findMax(int a, int b)
76
{
77
return (a > b) ? a : b;
78
}
@@ -407,7 +407,7 @@ THREAD_RETURN WOLFSSH_THREAD portfwd_worker(void* args)
407
FD_ZERO(&templateFds);
408
FD_SET(sshFd, &templateFds);
409
FD_SET(listenFd, &templateFds);
410
- nFds = max(sshFd, listenFd) + 1;
+ nFds = findMax(sshFd, listenFd) + 1;
411
412
for (;;) {
413
rxFds = templateFds;
0 commit comments