[Cvsnt] gserver impersonation

Brian Smith brian-l-smith at uiowa.edu
Tue Feb 26 21:18:47 GMT 2002


Tony Hoyle wrote:
> On Tue, 26 Feb 2002 11:11:40 +0000 (UTC), Brian Smith
> <brian-l-smith at uiowa.edu> wrote:
>
>
>>	new_tok_buffer(ib, ((cbuf[0] & 0xff) << 8) | (cbuf[1] & 0xff));
>
> yuk.  Use ntohs to do this.

This is actually just copied and pasted out of the gserver code, but I
will change it.

- Brian

_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list