qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 08/11] vnc: avoid write only variables


From: Blue Swirl
Subject: [Qemu-devel] Re: [PATCH 08/11] vnc: avoid write only variables
Date: Thu, 7 Oct 2010 18:04:20 +0000

On Thu, Oct 7, 2010 at 7:23 AM, Paolo Bonzini <address@hidden> wrote:
> On 10/06/2010 11:33 PM, Blue Swirl wrote:
>>
>> +#if defined(CONFIG_VNC_TLS) || defined(CONFIG_VNC_SASL)
>>          } else if (strncmp(options, "acl", 3) == 0) {
>>              acl = 1;
>> +#endif
>
> Not sure it's okay to reject the option altogether (i.e. maybe the #if
> should only include "acl = 1".

It's OK with current code, it doesn't check for invalid options. This
also matches how other options are handled.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]