[PATCH] Samba VirusFilter (version 12)

Trever L. Adams trever at middleearth.sapphiresunday.org
Wed Jan 3 01:47:03 UTC 2018


On 01/02/2018 12:05 PM, jim via samba-technical wrote:
> Trever
>
> In virusfilter_io_write isn't this the same as
>     bool ok;
>     ok = write_data_iov_timeout(...);
>     return ok;
>
> Jim
>
> On 1/2/2018 12:34 PM, Trever L. Adams via samba-technical wrote:
>> +    switch (write_data_iov_timeout(io_h->stream, &iov, 1,
>> +        io_h->io_timeout)) {
>> +    case false:
>> +        return false;
>> +    default:
>> +        return true;
>> +    }
>
>
>
Correct. This code path was very different at one point. Thank you for
catching this. It has been corrected.

Trever

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 886 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180102/01ff1b56/signature.sig>


More information about the samba-technical mailing list