ortp icon indicating copy to clipboard operation
ortp copied to clipboard

Disable for loop when USE_RECVMSG is not defined

Open trampen opened this issue 2 years ago • 0 comments

Following expresion should be run only when needed, when USE_RECVMSG or _WIN32 are defined

for (cmsghdr = CMSG_FIRSTHDR(&msghdr); cmsghdr != NULL ; cmsghdr = CMSG_NXTHDR(&msghdr, cmsghdr))

Runnig it for Android compilation where USE_RECVMSG is not defined cause infinite loop.

trampen avatar Feb 20 '23 13:02 trampen