On 2/22/07, Nick Warne <[EMAIL PROTECTED]> wrote:
>
> I don't see the sense (nor logic) in trimming a string _every_ packet when for
> all pretense and purpose it will not change during a session.
The string is not getting trimmed in the conventional sense. The
strncpy just copies at most MAX_CALL
missed the list off...
-- Forwarded Message --
Subject: Re: [Flightgear-devel] MAX_CALLSIGN_LEN
Date: Thursday 22 February 2007
From: Nick Warne <[EMAIL PROTECTED]>
To: "Csaba Halász" <[EMAIL PROTECTED]>
On Thursday 22 February 2007 16:40:57 Csaba Halá
On Thursday 22 February 2007 16:13:59 Csaba Halász wrote:
> On 2/22/07, Nick Warne <[EMAIL PROTECTED]> wrote:
> > Is this correct?
>
> Yes. In C you need to terminate strings by a 0 byte. So you need 8
> bytes for a maximum of 7 characters.
>
> Greets,
> Jester
Yes, I understand that - but what se
On 2/22/07, Nick Warne <[EMAIL PROTECTED]> wrote:
>
> Is this correct?
Yes. In C you need to terminate strings by a 0 byte. So you need 8
bytes for a maximum of 7 characters.
Greets,
Jester
-
Take Surveys. Earn Cash. Influen
Hi all,
Revamping my server query page, I noticed that mp callsign names get chopped
at 7 chars.
The code reads:
src/MultiPlayer/mpmessages.hxx
59:
// XDR demands 4 byte alignment, but some compilers use8 byte alignment
// so it's safe to let the overall size of a network message be a
// mult
5 matches
Mail list logo