[Lcdproc] [Patch] Fix socket number logging

Peter Marschall peter@adpm.de
Sat Mar 3 20:08:02 2007


Hi,

On Friday, 2. March 2007 16:37, Peter McCurdy wrote:
> I just happened to check the LCDd server logs when I had the log level
> turned up a bit with "-r 3", and I noticed the following:
>
>   "Connect from host 127.0.0.1:-32488 on socket 4"
>
> Oops!  Socket numbers are *unsigned* 16 bit integers.  Here's the
> (pretty trivial) patch to fix that.  After this patch, if you run LCDd
> with -r 3, you should see messages more like:
>
>   "Connect from host 127.0.0.1:33408 on socket 4"
>
> I had a quick look and couldn't see any other places nearby making the
> same mistake, so it seems to be just a cosmetic problem.

Committed to CVS (both CVS & stable branch)

>
> Thanks.
>
> Peter.

dito ;-))))


-- 
Peter Marschall
peter@adpm.de