Skip to content

Commit

Permalink
Update InterfaceAntiSpam.cpp
Browse files Browse the repository at this point in the history
(not so) great copy & paste work ;-)
  • Loading branch information
RvdHout authored and martinknafve committed Jan 30, 2022
1 parent be27f1e commit 253dfc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hmailserver/source/Server/COM/InterfaceAntiSpam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ STDMETHODIMP InterfaceAntiSpam::put_CheckHostInHeloScore(long newVal)
}
}

STDMETHODIMP InterfaceAntiSpam::get_CheckPTR(VARIANT_BOOL* pVal)
STDMETHODIMP InterfaceAntiSpam::get_CheckPTR(VARIANT_BOOL *pVal)
{
try
{
if (!config_)
return GetAccessDenied();

*pVal = config_->GetAntiSpamConfiguration().GetCheckHostInHelo() ? VARIANT_TRUE : VARIANT_FALSE;
*pVal = config_->GetAntiSpamConfiguration().GetCheckPTR() ? VARIANT_TRUE : VARIANT_FALSE;

return S_OK;
}
Expand All @@ -160,7 +160,7 @@ STDMETHODIMP InterfaceAntiSpam::put_CheckPTR(VARIANT_BOOL newVal)
}
}

STDMETHODIMP InterfaceAntiSpam::get_CheckPTRScore(long* pVal)
STDMETHODIMP InterfaceAntiSpam::get_CheckPTRScore(long *pVal)
{
try
{
Expand Down

0 comments on commit 253dfc8

Please sign in to comment.