typo in assignment

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Feb 11 09:06:58 CET 2011


On 02/10/2011 04:40 PM, Marcus Meissner wrote:
> Hi,
> gnutls 2.8.6, lib/gnutls_state.c, around line 200:
>   session->internals.adv_version_major = 0;
>   session->internals.adv_version_minor = 0;
[...]

>   session->internals.adv_version_minor = 0;		// <<< 
>   session->internals.adv_version_minor = 0;		// <<<

> I think one of those marked lines should be
>   session->internals.adv_version_major = 0;		// <<< 

You are right, but they are also superfluous, since
the same assignment was being done few lines above. I've
removed those lines completely. Thank you for
reporting that.

regards,
Nikos




More information about the Gnutls-devel mailing list