Petr Malát <[email protected]> writes:

> These variables are not static - they are shared between telnet.c and
> utilities.c. Making them static was the first thing I tried :-)

That makes sense now, thank you.  Applied and pushed.

/Simon

> 2012/8/22 Simon Josefsson <[email protected]>:
>> Petr Malát <[email protected]> writes:
>>
>>> -char options[256];           /* The combined options */
>>> -char do_dont_resp[256];
>>> -char will_wont_resp[256];
>>> +char options[256] = { 0 };           /* The combined options */
>>> +char do_dont_resp[256] = { 0 };
>>> +char will_wont_resp[256] = { 0 };
>>
>> This seems weird and should be a no-op -- global static variables should
>> be initialized to zero by the compiler.
>>
>> /Simon

Reply via email to