On Mon, Nov 3, 2014 at 12:20 PM, Jan Kaluža <[email protected]> wrote: > Am I missing something?
No it's me.
>
>>> q = servername;
>>> if (p) {
>>> p += 8;
>>> + /* -1 to not overwrite last '\0' byte */
>>> + while (*p > 32 && len++ < sizeof(servername) - 1)
>>> + *q++ = *p++;
>>> }
>>> *q = 0;
My (damaged-)brain has read the above as servername[len] = 0...
Sorry for the noise, got my +1 in STATUS now.
Thanks,
Yann.
