At 18.24 16/11/07, you wrote:

>Can you try the patch below?
>
>
>diff --git a/POP3Utils.cpp b/POP3Utils.cpp
>index 85ee92d..5b3111b 100644
>--- a/POP3Utils.cpp
>+++ b/POP3Utils.cpp
>@@ -1542,10 +1542,10 @@ int UPopUserIpCheck(UserInfo *pUI, SYS_INET_ADDR
>const *pPeerInfo, unsigned int
>         fclose(pIpFile);
>
>         /* Do IP matching */
>-       SYS_INET_ADDR PrevAddr, CurrAddr;
>+       SYS_INET_ADDR CurrAddr;
>
>-       if (SysGetHostByName(szIP, SysGetAddrFamily(CurrAddr), 
>PrevAddr) < 0 ||
>-           !SysSameAddress(PrevAddr, CurrAddr)) {
>+       if (SysGetHostByName(szIP, SysGetAddrFamily(*pPeerInfo), 
>CurrAddr) < 0 ||
>+           !SysSameAddress(*pPeerInfo, CurrAddr)) {
>                 ErrSetErrorCode(ERR_NO_POP3_IP);
>                 return ERR_NO_POP3_IP;
>         }

Sorry to say: not working :-(

Ciao, Francesco

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to